What's the issue?
amp-imgs within amp-sidebar toolbars get duplicate i-amphtml-sizer elements
How do we reproduce the issue?
I've set up a POC on jsbin, you can make this happen on your own by doing the following:
- Create a
amp-sidebar element with an included nav toolbar that targets an element in the page
- Add an
amp-img underneath that toolbar
- View the rendered
amp-img
You'll notice that there are two i-amphtml-sizers being added, causing the amp-img to be double the intended height
What browsers are affected?
Confirmed in:
- Chrome
- Firefox
- Safari
- Edge 16
- IE 11
- Chrome for Android
Which AMP version is affected?
Tested on 1521658019509
What's the issue?
amp-imgs withinamp-sidebartoolbars get duplicatei-amphtml-sizerelementsHow do we reproduce the issue?
I've set up a POC on jsbin, you can make this happen on your own by doing the following:
amp-sidebarelement with an includednavtoolbar that targets an element in the pageamp-imgunderneath that toolbaramp-imgYou'll notice that there are two
i-amphtml-sizers being added, causing theamp-imgto be double the intended heightWhat browsers are affected?
Confirmed in:
Which AMP version is affected?
Tested on
1521658019509