Closed mrjoro closed 4 years ago
The Viewers Working Group will be presenting their periodic update at this Design Review (10-15 minutes).
/cc @ampproject/wg-viewers @ericfs
There are no major updates to share at this time.
I would like to review issue #29786 which deals with the deprecation plan for amp-img
. Thanks!
AMP Image Deprecation Notes (Will update in an edit).
img
element now supports the concepts without our wrapper.img
to support current features in amp-img
.aspect-ratio
and attr(width)
and attr(height)
. Can we be certain it works as we want? (Good followup)img
being valid.General theme of browser support questions.
CLS Impact of this change, what would cause a CLS increase here?
Browsers include in the default stylesheet a bounding box correctly for the image width and height as declared on the img
element.
With the native image implementation not only can the dimensions change, but the aspect ratio can change as the image loads.
Devin Can we look at a sample of pages in the wild and see where its misreported? Malte The incentive changes when the value doesn't need to be accurate, with the native image size the browser can reflow as necessary and looks correct for developers with a higher CLS impact.
Rebecca When documents supply invalid values, how much do we care?
Malte Sample pages would be really valuable, and sample HTML for developers to cover blurry placeholders if they chose to use native img
elements.
Malte We should formulate an opinion for potential CLS impact based on real examples.
Malte Ok with bad CLS from poor publisher documents, not ok with general cases.
Alan: How do we replicate responsive sizes? We should have these examples. (width/height auto in css, values set on HTMLImageElement).
Rebecca: Should we test in prod with a sample? Alan lets first do sample pages and see if need to.
TODO: Rebecca Create Samples, and see if we can mitigate any issues for common occurrences.
Time: 2020-08-12 20:00 UTC (add to Google Calendar) Location: Video conference via Google Meet
The AMP community holds weekly engineering design reviews. We encourage everyone in the community to participate in these design reviews.
If you are interested in bringing your design to design review, read the design review documentation and add a link to your design doc or issue by the Monday before your design review.
When attending a design review please read through the designs before the design review starts. This allows us to spend more time on discussion of the design.
We rotate our design review between times that work better for different parts of the world as described in our design review documentation, but you are welcome to attend any design review. If you cannot make any of the design reviews but have a design to discuss please let mrjoro@ know on Slack and we will find a time that works for you.