WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
310025
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
Add attachment
proposed patch, testcase, etc.
Yoav Weiss
Comment 1
2026-03-16 08:27:06 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/60697
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
<
rdar://problem/172827205
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug