| Summary: | REGRESSION (257171@main): Static media query inside a dynamic media query breaks dynamic evaluation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> | ||||
| Component: | CSS | Assignee: | Antti Koivisto <koivisto> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | koivisto, m_dubet, mysteryquest+webkit, phiw2, webkit-bug-importer, webkit | ||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||
| Version: | Safari Technology Preview | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://d5f.org/en | ||||||
| Attachments: |
|
||||||
|
Description
Karl Dubost
2023-01-08 00:37:35 PST
This is broken in STP and trunk indeed (it works on stable Safari). The parsing seems correct (with or without the CSS nesting experimental flag). (I've added a small snippet to check it: <script> var rule = s.sheet.cssRules[1]; l.textContent = rule.cssText; </script> ) It seems to be a media query evaluation issue. Pull request: https://github.com/WebKit/WebKit/pull/8457 Committed 258732@main (3e90af4d3b34): <https://commits.webkit.org/258732@main> Reviewed commits have been landed. Closing PR #8457 and removing active labels. *** Bug 250820 has been marked as a duplicate of this bug. *** *** Bug 251078 has been marked as a duplicate of this bug. *** *** Bug 251755 has been marked as a duplicate of this bug. *** |