You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 15, 2022. It is now read-only.
* Allow IMG so long as it contains a loading attribute
* Make width and height mandatory
* Move method from within AMP.BaseElement to src/core/dom since it must act on native elements and extended AMP elements now
* Update validator output
* Mid way stopping point on amp-lightbox-gallery cloneLightboxableElement_
* Lightbox gallery now supports image elements
* Use Sets instead of objects
* PR feedback on name of utility and usage of other utilities
* lightbox had a bad reference
* Spy on the right thing now
* Remove validator changes for a later step
* Carriage returns at the end of the out files for the validator
* Updated carriage returns at end of files
* Update comments
* Move auto lightbox to loadPromise
* Remove Set in amp-auto-lightbox
* Remove set in amp-image-lightbox
* Remove logic specific to amp-img for the img path
* Additional fixes for Set usage
* test for supporting img on amp-image-lightbox
* Add tests for propagate attributes helper and fix usage in iframe-video
* Additional fixes for propagateAttributes from AMPElements
* Bad merge
* pass ampdoc in Criteria so its not obtained from an HTMLElement
* change order of arguments to reduce test rewriting for Criteria
* Fix types in propagate attributes
* Prettier formatting
* different prettier versions
* update core utility with improved typing from below
* Address part of Alans feedback
* types
* remove toLowerCase on tagName
* Test changes from PR feedback (and applied elsewhere in the file)
* Add support for native HTMLImageElements to amp-image-slider
* Add test using HTMLImageElements
* Revert changes to gestures for a later PR
* Continued progress, pan zoom works and lightbox gallery is underway
* LayoutScheduled for amp-carousel 0.1 when unlayout happening
* Remove image support for amp-image-viewer for a future PR
* Image Viewer no longer needs to exclude itself from using loadPromise directly
* Remove console logging for carousel debugging:
* Remove breaks in parsing of children for amp-image-slider
* No need to provide an empty array for the Set constructor
* Remaining console
* Nit
* Remove more intermediary state changes
* Naming nit
* prettier formatting in test
Copy file name to clipboardExpand all lines: examples/amp-lightbox.amp.html
+2
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,8 @@ <h2>Scrollable Lightbox</h2>
63
63
Lorem ipsum dolor sit amet, has nisl nihil convenire et, vim at aeque inermis reprehendunt. Propriae tincidunt id nec, elit nusquam te mea, ius noster platonem in. Mea an idque minim, sit sale deleniti apeirian et. Omnium legendos tractatos cu mea. Vix in stet dolorem accusamus. Iisque rationibus consetetur in cum, quo unum nulla legere ut. Simul numquam saperet no sit.
64
64
</p>
65
65
<p>
66
+
<!-- native image element example, it's not valid yet, but supported. -->
0 commit comments