mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implements `rules`, `addRule()` and `removeRule()` for `CSSStyleSheet`. https://drafts.csswg.org/cssom/#legacy-css-style-sheet-members This is part of #36162 Testing: - `/css/css-cascade/at-scope-parsing.html` - `/css/css-conditional/at-supports-whitespace.html` - `/css/css-nesting/invalidation-004.html` - `/css/css-nesting/parsing.html` - `/css/css-nesting/serialize-group-rules-with-decls.html` - `/css/css-syntax/custom-property-rule-ambiguity.html` - `/css/css-syntax/invalid-nested-rules.html` - `/css/css-syntax/trailing-braces.html` - `/css/css-syntax/var-with-blocks.html` - `/css/css-transitions/parsing/starting-style-parsing.html` - `/css/cssom/CSSStyleSheet.html` - `/css/cssom/idlharness.html` - `/css/cssom/insertRule-across-context.html` Signed-off-by: Oriol Brufau <obrufau@igalia.com>
78 lines
1.4 KiB
INI
Vendored
78 lines
1.4 KiB
INI
Vendored
[at-scope-parsing.html]
|
|
[@scope (.a) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a + .b) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a:hover) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a:hover, #b, div) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (:is(div, span)) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a) to (.b) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a)to (.b) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a) to (.b:hover, #c, div) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope is valid]
|
|
expected: FAIL
|
|
|
|
[@scope to (.a) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a) to (&) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a) to (& > &) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a) to (> .b) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a) to (+ .b) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a) to (~ .b) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope () is valid]
|
|
expected: FAIL
|
|
|
|
[@scope to () is valid]
|
|
expected: FAIL
|
|
|
|
[@scope () to () is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.c <> .d) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a, .c <> .d) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a <> .b, .c) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (div::before) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (div::after) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (slotted(div)) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (.a) to (div::before) is valid]
|
|
expected: FAIL
|
|
|
|
[@scope (> &) to (>>) is valid]
|
|
expected: FAIL
|