[Webkit-unassigned] [Bug 180580] Feature request: Improve image loading (height) on slow connections

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 4 17:16:02 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=180580

--- Comment #5 from Eric Portis <e at ericportis.com> ---
Great!

> (Well, that and test cases).

Test cases beyond the web platform tests? https://github.com/web-platform-tests/wpt/blob/master/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-aspect-ratio.html

> Also seems like this solution might be insufficient for `<picture>`, where often the different sources will have different aspect ratios.

Yes! There's some good discussion on what to do about that in the original thread: https://github.com/WICG/intrinsicsize-attribute/issues/16, which has since moved to this issue: https://github.com/whatwg/html/issues/4961

TL;DR maybe we can send `height` and `width` from the `<source>` to the `<img>`, along with the `src`? Comments are still being gathered and it hasn't been spec'd anywhere yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191205/740e90f1/attachment-0001.htm>


More information about the webkit-unassigned mailing list