Bug 248450

Summary: Fix CSS.supports behaviour with regards to !important and whitepace
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, darin, ntim, rackler, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 248634    
Bug Blocks:    

Ahmad Saleem
Reported 2022-11-28 17:44:57 PST
Hi Team, Just another bug report based on Blink's comment and our failing test cases: Failing Test Case - https://jsfiddle.net/wvsu7koh/show Blink Commit - https://chromium.googlesource.com/chromium/blink/+/36890765b05b48d8065737682b4e878645b601b2 Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/f3dfd0cc716eec21249cf1b3544fff9303053a0a/Source/WebCore/css/DOMCSSNamespace.cpp#L45 Just wanted to raise bug for future purposes. Thanks!
Attachments
Sam Sneddon [:gsnedders]
Comment 1 2022-11-29 15:30:56 PST
To note, this is specifically CSS.supports (i.e., the JS-exposed API) and not @supports.
Ahmad Saleem
Comment 2 2022-11-30 03:56:44 PST
EWS
Comment 3 2022-11-30 13:46:54 PST
Committed 257196@main (4b4a31ba7117): <https://commits.webkit.org/257196@main> Reviewed commits have been landed. Closing PR #6949 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2022-11-30 13:47:18 PST
Darin Adler
Comment 5 2022-12-01 15:24:14 PST
I believe that the test imported/w3c/web-platform-tests/css/cssom/cssom-getPropertyValue-common-checks.html has been crashing in debug builds since this change landed.
WebKit Commit Bot
Comment 6 2022-12-01 15:39:03 PST
Re-opened since this is blocked by bug 248634
Ahmad Saleem
Comment 7 2022-12-02 02:26:47 PST
EWS
Comment 8 2022-12-02 05:28:39 PST
Committed 257280@main (9d5c6857a50c): <https://commits.webkit.org/257280@main> Reviewed commits have been landed. Closing PR #7068 and removing active labels.
Karl Rackler
Comment 9 2022-12-02 08:17:50 PST
EWS
Comment 10 2022-12-02 08:20:21 PST
Committed 257286@main (3401a13c6836): <https://commits.webkit.org/257286@main> Reviewed commits have been landed. Closing PR #7071 and removing active labels.
Karl Rackler
Comment 11 2022-12-02 08:23:57 PST
Revert because it broke the build for the bots
Ahmad Saleem
Comment 12 2022-12-02 15:42:49 PST
EWS
Comment 13 2022-12-02 18:36:03 PST
Committed 257313@main (30880fe8446d): <https://commits.webkit.org/257313@main> Reviewed commits have been landed. Closing PR #7100 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.