Bug 254204

Summary: Checking for nested CSS support with CSS.supports("selector(&)") doesn't work
Product: WebKit Reporter: Sam Willis <sam.willis>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ntim
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Sam Willis 2023-03-21 02:12:47 PDT
Checking for nested css support (#223497, #249263) via JavaScript using `CSS.supports("selector(&)")` doesn't work. I believe the expected behaviour is that it would return true in browsers that do support it (such as Safari Technology Preview), Chrome Canary does return true for this check.
Comment 1 Sam Sneddon [:gsnedders] 2023-03-21 08:37:21 PDT
This looks like a dupe of Bug 252301.

What version were you testing?
Comment 2 Sam Willis 2023-03-21 10:14:00 PDT
Sorry, missed that in my search.

Tested on latest Safari Technology Preview, version 165.

Just tried to run the latest build from https://webkit.org/build-archives/ (for the first time) but can't get it to run. Will check on the new Tech Preview when I assume it drops in the next couple of days.
Comment 3 Tim Nguyen (:ntim) 2023-03-21 10:27:30 PDT
Bug 252301 should be in the next STP.

*** This bug has been marked as a duplicate of bug 252301 ***