Skip to content

Remove width attribute fallback from sizes calculation - #5900

Merged
annevk merged 3 commits into
whatwg:masterfrom
yoavweiss:srcset_width
Sep 10, 2020
Merged

annevk merged 3 commits into
whatwg:masterfrom
yoavweiss:srcset_width

Conversation

@yoavweiss

@yoavweiss yoavweiss commented Sep 9, 2020 •

Copy link
Copy Markdown
Contributor

Closes #5893

@annevk - Can you confirm #5893 (comment) represents Mozilla's support?

Regarding WPTs - seems like this requires web-platform-tests/wpt#7140 in order to be WPT-testable (otherwise, the test would depend on the DPR of the screen on which it's running).

No need for implementation bugs, as this removes part of the spec that was not implemented anywhere.

(See WHATWG Working Mode: Changes for more details.)


/images.html ( diff )

@annevk

annevk commented Sep 9, 2020

Copy link
Copy Markdown
Member

Yeah, given the non-support this seems fine to remove.

@dholbert FYI.

@annevk annevk added removal/deprecation Removing or deprecating a feature topic: img Images: img, picture, srcset and sizes, image loading and decoding, and image maps labels Sep 9, 2020

@annevk annevk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zcorpan should probably review this.

Comment thread source Resolved
@zcorpan

zcorpan commented Sep 9, 2020

Copy link
Copy Markdown
Member

Comment thread source Resolved

@annevk annevk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the last nit addressed and a WPT as per @zcorpan's comment this can land. Thanks for tackling this!

Comment thread source Resolved
@annevk
annevk merged commit 804da31 into whatwg:master Sep 10, 2020
eeeps added a commit to eeeps/html that referenced this pull request Sep 20, 2021
...from the "Updating the source set" algorithm.

Mop-up for Issue whatwg#5893, completing work started in PR whatwg#5900.
zcorpan pushed a commit that referenced this pull request Sep 20, 2021
...from the "Updating the source set" algorithm.

Mop-up for Issue #5893, completing work started in PR #5900.
mfreed7 pushed a commit to mfreed7/html that referenced this pull request Jun 3, 2022
...from the "Updating the source set" algorithm.

Mop-up for Issue whatwg#5893, completing work started in PR whatwg#5900.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

removal/deprecation Removing or deprecating a feature topic: img Images: img, picture, srcset and sizes, image loading and decoding, and image maps

Development

Successfully merging this pull request may close these issues.

Srcset implementations do not take width as a fallback when sizes is not present

3 participants