RESOLVED FIXED 254820
css/css-backgrounds/background-size-001.html is wrong
https://bugs.webkit.org/show_bug.cgi?id=254820
Summary css/css-backgrounds/background-size-001.html is wrong
Brent Fulgham
Reported 2023-03-31 09:17:06 PDT
This test now fails in an update of the WPT tests to 8f71659306c53f3cabad054ed02ac7c4d14de693.
Attachments
Diff of test case (3.60 KB, patch)
2023-03-31 09:28 PDT, Brent Fulgham
no flags
Radar WebKit Bug Importer
Comment 1 2023-03-31 09:17:24 PDT
Brent Fulgham
Comment 2 2023-03-31 09:28:09 PDT
Created attachment 465702 [details] Diff of test case Expectations changed from "{Something} auto" to just "{Something}"
Karl Dubost
Comment 3 2024-11-25 21:12:07 PST
Renaming the title See http://wpt.live/css/css-backgrounds/background-size-001.html https://wpt.fyi/results/css/css-backgrounds/background-size-001.html With ``` data:text/html,<div id="test"></div> ``` and doing in the console. ``` > document.document.querySelector("#test").style.backgroundSize = "0px"; < "0px" > window.getComputedStyle(document.querySelector("#test")).getPropertyValue("background-size") < "0px auto" > window.getComputedStyle(document.querySelector("#test")).backgroundSize < "0px auto" ``` it should return `0px` only.
Karl Dubost
Comment 5 2024-11-25 22:55:49 PST
Karl Dubost
Comment 6 2024-11-25 22:56:23 PST
Karl Dubost
Comment 7 2024-11-25 23:28:02 PST
So wait, there are a couple of things to change in fact. WebKit has the correct behavior in this instance, but some tests need to be modified. Tim added it to the CSS WG agenda Agenda+ to https://github.com/w3c/csswg-drafts/issues/7802 and see for previous discussions https://github.com/WebKit/WebKit/pull/3372
Karl Dubost
Comment 8 2024-11-25 23:49:22 PST
EWS
Comment 9 2024-11-26 19:43:35 PST
Committed 287112@main (3d8628034199): <https://commits.webkit.org/287112@main> Reviewed commits have been landed. Closing PR #37148 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.