mirror of
https://github.com/servo/servo.git
synced 2025-09-18 02:48:20 +01:00
script: Support custom element states (#38564)
Also adds support for `:state`. Testing: Covered by existing tests --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
dcd25072d3
commit
04dd74dddb
20 changed files with 209 additions and 152 deletions
|
@ -1,33 +0,0 @@
|
|||
[parse-state.html]
|
||||
[":state(--foo)" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
[":state(bar)" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
[":state(--)" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
[":state(--0)" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
[":host(:state(--foo))" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
["my-input[type=\\"foo\\"\]:state(checked)" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
["my-input[type=\\"foo\\"\]:state(--0)::before" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
["my-input[type=\\"foo\\"\]:state(--0)::part(inner)" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
["my-input[type=\\"foo\\"\]:state(--0)::part(inner):state(bar)" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
["::part(inner):state(bar)::before" should be a valid selector]
|
||||
expected: FAIL
|
||||
|
||||
["::part(inner):state(bar)::after" should be a valid selector]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue