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
The problem seems to stem from the fact that AMP sets the <amp-img> with an intrinsic layout to display: inline-block;, whereas the original image was styled to be display: block;.
I'm closing this issue as being a CSS problem, not a bug.
What's the issue?
When wrapping an element with
element, the wrapping has a height that is a few pixels larger then the image it wraps.layout="intrinsic"
in aThis problem seems to be unrelated to any CSS being parsed, so I assumed this is JavaScript behavior inside the element that is broken.
How do we reproduce the issue?
Markup to reproduce:
See https://codepen.io/schlessera/pen/BaaKaxo
What browsers are affected?
Tested in Google Chrome Version 77.0.3865.120 (Official Build) (64-bit)
Which AMP version is affected?
Seen in version 1910071803120.
The text was updated successfully, but these errors were encountered: