Bug 259752
Summary: | Nested @supports queries do not inherit parent declarations | ||
---|---|---|---|
Product: | WebKit | Reporter: | Daniel J. Wilson <daniel> |
Component: | CSS | Assignee: | 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 |
Daniel J. Wilson
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/113652033>
Matthieu Dubet
Pull request: https://github.com/WebKit/WebKit/pull/21726
EWS
Committed 271989@main (0dd51c9b2c6d): <https://commits.webkit.org/271989@main>
Reviewed commits have been landed. Closing PR #21726 and removing active labels.
Tim Nguyen (:ntim)
*** Bug 266287 has been marked as a duplicate of this bug. ***