Bug 1832281 [wpt PR 39923] - Remove duplicate resolutions from the resolved image...
commit442a135f3887468378eb6376b5fbe27a77113321
authorFredrik Söderquist <fs@opera.com>
Wed, 17 May 2023 16:40:53 +0000 (17 16:40 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 21 May 2023 22:45:46 +0000 (21 22:45 +0000)
treec86ccdf041427d8a0b197a06466bbd3e17183b0d
parentf474dca5ea3af1d333e787860484733fcf71155e
Bug 1832281 [wpt PR 39923] - Remove duplicate resolutions from the resolved image-set() list, a=testonly

Automatic update from web-platform-tests
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/c/chromium/src/+/4518360
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Traian Captan <tcaptan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1143169}

--

wpt-commits: e9823bb1a5717b0c038a1286b93b7969dc40c2e5
wpt-pr: 39923
testing/web-platform/tests/css/css-images/image-set/image-set-type-first-match-rendering.html