mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb/CSS: Add the env() function to @supports conditions
This was just added to the spec and doesn't yet have WPT coverage, but it's also pretty trivial.
This commit is contained in:
Notes:
github-actions[bot]
2026-03-29 20:28:15 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/fd46ade2a25 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8645
@@ -6,7 +6,7 @@ These should all be valid:
|
||||
@supports selector(.simple): PASS
|
||||
@supports selector(a#more > .complicated.case:nth-child(42)): PASS
|
||||
@supports selector(.easy) or selector(.....nope): PASS
|
||||
@supports env(preferred-text-scale): FAIL
|
||||
@supports env(preferred-text-scale): PASS
|
||||
|
||||
These should all be invalid:
|
||||
@supports (not (color: green)): PASS
|
||||
|
||||
Reference in New Issue
Block a user