RESOLVED FIXED310025
Add support for HTMLImageElement's sizes=auto
https://bugs.webkit.org/show_bug.cgi?id=310025
Summary Add support for HTMLImageElement's sizes=auto
Yoav Weiss
Reported 2026-03-16 08:25:01 PDT
https://html.spec.whatwg.org/multipage/images.html#valdef-sizes-auto defines the "auto" keyword for the sizes attribute. https://html.spec.whatwg.org/multipage/images.html#parsing-a-sizes-attribute defines its behavior. WebKit should implement that. (for Interop's sake and to reduce the amount of wasted image bytes)
Attachments
Yoav Weiss
Comment 1 2026-03-16 08:27:06 PDT
EWS
Comment 2 2026-03-18 06:10:07 PDT
Committed 309476@main (8ef7d8dc0caa): <https://commits.webkit.org/309476@main> Reviewed commits have been landed. Closing PR #60697 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-03-18 06:11:13 PDT
Note You need to log in before you can comment on or make changes to this bug.