mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 08:59:50 +00:00
A couple of fixes here: - Parse a `<complex-selector>` instead of a `<selector-list>` - Don't match if any unknown `::-webkit-*` pseudo-elements are found
17 lines
725 B
Text
17 lines
725 B
Text
These should all pass:
|
|
@supports (color: green): PASS
|
|
@supports (color: green) and (width: 50px): PASS
|
|
@supports (color: green) or (flogwizzle: purple): PASS
|
|
@supports (not (flogwizzle: purple)): PASS
|
|
@supports selector(.simple): PASS
|
|
@supports selector(a#more > .complicated.case:nth-child(42)): PASS
|
|
@supports selector(.easy) or selector(.....nope): PASS
|
|
|
|
These should all fail:
|
|
@supports (not (color: green)): FAIL
|
|
@supports (color: green) and (width: 50px) or (color: green): FAIL
|
|
@supports (width: yellow) or (height: green): FAIL
|
|
@supports (flogwizzle: purple): FAIL
|
|
@supports selector(.....nope): FAIL
|
|
@supports selector(::-webkit-input-placeholder): FAIL
|
|
@supports selector(32) or selector(thing[foo??????bar]): FAIL
|