Bug 259752

Summary: Nested @supports queries do not inherit parent declarations
Product: WebKit Reporter: Daniel J. Wilson <daniel>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: argyle, karlcow, koivisto, m_dubet, ntim, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Mac (Intel)   
OS: macOS 13   
See Also: https://github.com/web-platform-tests/wpt/pull/43649

Description Daniel J. Wilson 2023-08-02 15:06:01 PDT
As of Safari Technology Preview 175 (Safari 17.0, WebKit 18617.1.1.2), nested @supports rules are not applied consistent with implementations in Blink and Gecko. In the Codepen linked below, the border color declaration is overridden by the color value specified in the @supports rules and the border-radius rule in the parent selector is completely ignored.

https://codepen.io/Membranophonist/pen/rNQPYXe
Comment 1 Radar WebKit Bug Importer 2023-08-09 15:06:15 PDT
<rdar://problem/113652033>
Comment 2 Matthieu Dubet 2023-12-13 01:12:16 PST
Pull request: https://github.com/WebKit/WebKit/pull/21726
Comment 3 EWS 2023-12-13 10:08:22 PST
Committed 271989@main (0dd51c9b2c6d): <https://commits.webkit.org/271989@main>

Reviewed commits have been landed. Closing PR #21726 and removing active labels.
Comment 4 Tim Nguyen (:ntim) 2023-12-18 09:43:57 PST
*** Bug 266287 has been marked as a duplicate of this bug. ***