diff --git a/build-system/test-configs/forbidden-terms.js b/build-system/test-configs/forbidden-terms.js
index 9d92d423b90d..dbce427e55ea 100644
--- a/build-system/test-configs/forbidden-terms.js
+++ b/build-system/test-configs/forbidden-terms.js
@@ -875,10 +875,13 @@ const forbiddenTermsSrcInclusive = {
'src/service/resources-impl.js',
'src/service/variable-source.js',
'src/validator-integration.js',
- 'extensions/amp-image-lightbox/0.1/amp-image-lightbox.js',
'extensions/amp-analytics/0.1/transport.js',
- 'extensions/amp-web-push/0.1/iframehost.js',
+ 'extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js',
+ 'extensions/amp-image-lightbox/0.1/amp-image-lightbox.js',
+ 'extensions/amp-image-slider/0.1/amp-image-slider.js',
+ 'extensions/amp-image-viewer/0.1/amp-image-viewer.js',
'extensions/amp-recaptcha-input/0.1/amp-recaptcha-service.js',
+ 'extensions/amp-web-push/0.1/iframehost.js',
],
},
'\\.getTime\\(\\)': {
diff --git a/builtins/amp-img/amp-img.js b/builtins/amp-img/amp-img.js
index 989d70b9ac27..75bb44231d92 100644
--- a/builtins/amp-img/amp-img.js
+++ b/builtins/amp-img/amp-img.js
@@ -21,6 +21,7 @@ import {Services} from '#service';
import {dev} from '../../src/log';
import {guaranteeSrcForSrcsetUnsupportedBrowsers} from '#core/dom/img';
import {listen} from '../../src/event-helper';
+import {propagateAttributes} from '#core/dom/propagate-attributes';
import {propagateObjectFitStyles, setImportantStyles} from '#core/dom/style';
import {registerElement} from '#service/custom-element-registry';
import {removeElement} from '#core/dom';
@@ -33,7 +34,7 @@ const TAG = 'amp-img';
* Attributes to propagate to internal image when changed externally.
* @type {!ArrayScrollable Lightbox
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.
+
+
diff --git a/examples/image-lightbox.amp.html b/examples/image-lightbox.amp.html index c90cb2aa36e8..022945b1987b 100644 --- a/examples/image-lightbox.amp.html +++ b/examples/image-lightbox.amp.html @@ -22,6 +22,13 @@
+ +HUGE PADDING
+ +NO labels; NO whatever modifications
NO labels; NO whatever modifications using ImageElements
+Labels with NO positioning rules specified (default to both top left)
Labels with NO positioning rules specified (default to both top left) using ImageElements
+Labels with positioning rules specified (both should be at the center)
Labels with positioning rules specified (both should be at the center) using ImageElements
+Has alt
on amp-img
s. ARIA order: [label content], [alt text if present], left/right image
Has alt
on amp-img
s. ARIA order: [label content], [alt text if present], left/right image using ImageElements
Disable default viewport behavior (hint would NOT reappear after the slider interacted, out of viewport, and then back into viewport)
Disable default viewport behavior (hint would NOT reappear after the slider interacted, out of viewport, and then back into viewport) using ImageElements
+Fully customized hint (replace with triangles)
Fully customized hint (replace with triangles) using ImageElements
+Actions
seekTo
test (currently, seekTo
is not considered as user interaction)
Actions
seekTo
test (currently, seekTo
is not considered as user interaction) using ImageElements
Set initial-slider-position
to 0.3
Set initial-slider-position
to 0.3 using ImageElements
Set step-size
to 0.2
Set step-size
to 0.2 using ImageElements