Bug 257100
| Summary: | [image-set] Pick first choice when identical resolutions are found | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | CSS | Assignee: | Ryan Reno <rreno> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | karlcow, oliverwilliams345, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar, WPTImpact |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://wpt.fyi/results/css/css-images/image-set/image-set-type-first-match-rendering.html?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2023-webcompat | ||
Tim Nguyen (:ntim)
https://drafts.csswg.org/css-images-4/#image-set-notation
> Second, remove any <image-set-option>s from the list that have the same <resolution> as a previous option in the list.
This implies we need to pick first choice when identical resolutions are found.
WPT: https://wpt.fyi/results/css/css-images/image-set/image-set-type-first-match-rendering.html?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2023-webcompat
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109619779>
Ryan Reno
*** Bug 257193 has been marked as a duplicate of this bug. ***
Ryan Reno
Pull request: https://github.com/WebKit/WebKit/pull/14285
EWS
Committed 264481@main (56e5d7cb43e7): <https://commits.webkit.org/264481@main>
Reviewed commits have been landed. Closing PR #14285 and removing active labels.