Closed Bug 1832281 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 39923 - Remove duplicate resolutions from the resolved image-set() list

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 39923 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/39923
Details from upstream follow.

Fredrik Söderquist <fs@opera.com> wrote:

Remove duplicate resolutions from the resolved image-set() list

Per the second step of the selection algoritmh at [1]. This would
previously pass under the right circumstances, i.e if resolution >= DPR,
but fail if the opposite was true.

[1] https://drafts.csswg.org/css-images-4/#image-set-notation

Fixed: 1443984
Change-Id: Ic783d9bacb7e572c649ac1c9c519af4d76490589
Reviewed-on: https://chromium-review.googlesource.com/4518360
WPT-Export-Revision: be935a8c4015b8d55299e7a20d0f91c5c1c49056

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b21c8843211f [wpt PR 39923] - Remove duplicate resolutions from the resolved image-set() list, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.