Issue metadata
Sign in to add a comment
|
Regression in common responsive image pattern |
||||||||||||||||||||||||
Issue descriptionChrome Version: 73.0.3671.3 OS: Mac OS X What steps will reproduce the problem? (1) Go to https://2018.jsconf.eu/news/photos/ What is the expected result? The images are sized correctly What happens instead? Images are not sized correctly. I haven't been able to reduce this unfortunately. I also observed that adding `width: 100%` to the img element fixes this. That points to the right/bottom rules being ignored. The basic structure is CSS like this: .responsive-image-wrapper { display: block; overflow: hidden; position: relative; } .responsive-image-wrapper img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; } And html like <span class="responsive-image-wrapper"><img></span>
,
Jan 15
Aleks, is this fixed with your OOF aspect ratio fixes?
,
Jan 15
I think so. The fail looks very similar. Can't be sure without an example.
,
Jan 15
See link above https://2018.jsconf.eu/news/photos/ All the large photos in the main content exhibit the behavior.
,
Jan 15
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by malteubl@google.com
, Jan 15