Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove width attribute fallback from sizes calculation #5900

Merged
merged 3 commits into from
Sep 10, 2020

Conversation

yoavweiss
Copy link
Contributor

@yoavweiss yoavweiss commented Sep 9, 2020

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
Copy link
Member

annevk commented Sep 9, 2020

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

@dholbert FYI.

@annevk annevk added removal/deprecation Removing or deprecating a feature topic: img labels Sep 9, 2020
Copy link
Member

@annevk annevk left a comment

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.

source Outdated Show resolved Hide resolved
@zcorpan
Copy link
Member

zcorpan commented Sep 9, 2020

You can test this without changing DPI: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/8439

source Show resolved Hide resolved
Copy link
Member

@annevk annevk left a comment

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!

source Show resolved Hide 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
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