mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Enable css-nesting WPT tests (#36246)
So that we can see the improvement when enabling the feature. Testing: This PR enables tests This is part of #36245 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
7c691b6d59
commit
77525cef84
25 changed files with 217 additions and 1 deletions
2
tests/wpt/include.ini
vendored
2
tests/wpt/include.ini
vendored
|
@ -68,7 +68,7 @@ skip: true
|
|||
[css-multicol]
|
||||
skip: true
|
||||
[css-nesting]
|
||||
skip: true
|
||||
skip: false
|
||||
[css-overscroll-behavior]
|
||||
skip: true
|
||||
[css-page]
|
||||
|
|
2
tests/wpt/meta/css/css-nesting/conditional-properties.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-nesting/conditional-properties.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[conditional-properties.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-nesting/conditional-rules.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-nesting/conditional-rules.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[conditional-rules.html]
|
||||
expected: FAIL
|
39
tests/wpt/meta/css/css-nesting/cssom.html.ini
vendored
Normal file
39
tests/wpt/meta/css/css-nesting/cssom.html.ini
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
[cssom.html]
|
||||
[CSSStyleRule is a CSSGroupingRule]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 1]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 2]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 3]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 4]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 5]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 6]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 7]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 8]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 9]
|
||||
expected: FAIL
|
||||
|
||||
[Mutating the selectorText of outer rule invalidates inner rules]
|
||||
expected: FAIL
|
||||
|
||||
[Manipulation of nested declarations through CSSOM]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-nesting/has-nesting.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-nesting/has-nesting.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[has-nesting.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-nesting/host-nesting-003.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-nesting/host-nesting-003.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[host-nesting-003.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-nesting/host-nesting-005.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-nesting/host-nesting-005.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[host-nesting-005.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-nesting/implicit-nesting.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-nesting/implicit-nesting.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[implicit-nesting.html]
|
||||
expected: FAIL
|
6
tests/wpt/meta/css/css-nesting/invalid-inner-rules.html.ini
vendored
Normal file
6
tests/wpt/meta/css/css-nesting/invalid-inner-rules.html.ini
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[invalid-inner-rules.html]
|
||||
[Simple CSSOM manipulation of subrules]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 1]
|
||||
expected: FAIL
|
3
tests/wpt/meta/css/css-nesting/invalidation-001.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-nesting/invalidation-001.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[invalidation-001.html]
|
||||
[CSS Selectors nested invalidation on changed parent]
|
||||
expected: FAIL
|
3
tests/wpt/meta/css/css-nesting/invalidation-002.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-nesting/invalidation-002.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[invalidation-002.html]
|
||||
[CSS Selectors nested invalidation on changed child]
|
||||
expected: FAIL
|
3
tests/wpt/meta/css/css-nesting/invalidation-003.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-nesting/invalidation-003.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[invalidation-003.html]
|
||||
[CSS Selectors nested invalidation with :has()]
|
||||
expected: FAIL
|
3
tests/wpt/meta/css/css-nesting/invalidation-004.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-nesting/invalidation-004.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[invalidation-004.html]
|
||||
[CSS Selectors nested invalidation through @media by selectorText]
|
||||
expected: FAIL
|
6
tests/wpt/meta/css/css-nesting/nested-declarations-cssom-whitespace.html.ini
vendored
Normal file
6
tests/wpt/meta/css/css-nesting/nested-declarations-cssom-whitespace.html.ini
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[nested-declarations-cssom-whitespace.html]
|
||||
[Empty CSSNestedDeclarations do not affect outer serialization]
|
||||
expected: FAIL
|
||||
|
||||
[Empty CSSNestedDeclarations do not affect outer serialization (nested grouping rule)]
|
||||
expected: FAIL
|
36
tests/wpt/meta/css/css-nesting/nested-declarations-cssom.html.ini
vendored
Normal file
36
tests/wpt/meta/css/css-nesting/nested-declarations-cssom.html.ini
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
[nested-declarations-cssom.html]
|
||||
[Trailing declarations]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed declarations]
|
||||
expected: FAIL
|
||||
|
||||
[CSSNestedDeclarations.style]
|
||||
expected: FAIL
|
||||
|
||||
[Nested group rule]
|
||||
expected: FAIL
|
||||
|
||||
[Nested @scope rule]
|
||||
expected: FAIL
|
||||
|
||||
[Inner rule starting with an ident]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a CSSNestedDeclaration rule into style rule]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting a CSSNestedDeclaration rule into nested group rule]
|
||||
expected: FAIL
|
||||
|
||||
[Attempting to insert a CSSNestedDeclaration rule into top-level @media rule]
|
||||
expected: FAIL
|
||||
|
||||
[Attempting to insert a CSSNestedDeclaration rule into a stylesheet]
|
||||
expected: FAIL
|
||||
|
||||
[Attempting to insert a CSSNestedDeclaration rule, empty block]
|
||||
expected: FAIL
|
||||
|
||||
[Attempting to insert a CSSNestedDeclaration rule, all invalid declarations]
|
||||
expected: FAIL
|
18
tests/wpt/meta/css/css-nesting/nested-declarations-matching.html.ini
vendored
Normal file
18
tests/wpt/meta/css/css-nesting/nested-declarations-matching.html.ini
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
[nested-declarations-matching.html]
|
||||
[Nested declarations rule has same specificity as outer selector]
|
||||
expected: FAIL
|
||||
|
||||
[Nested declarations rule has top-level specificity behavior]
|
||||
expected: FAIL
|
||||
|
||||
[Bare declartaion in nested grouping rule can match pseudo-element]
|
||||
expected: FAIL
|
||||
|
||||
[Nested @scope rules behave like :where(:scope)]
|
||||
expected: FAIL
|
||||
|
||||
[Nested @scope rules behave like :where(:scope) (trailing)]
|
||||
expected: FAIL
|
||||
|
||||
[Nested declarations rule responds to parent selector text change]
|
||||
expected: FAIL
|
3
tests/wpt/meta/css/css-nesting/nested-rule-cssom-invalidation.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-nesting/nested-rule-cssom-invalidation.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[nested-rule-cssom-invalidation.html]
|
||||
[Nested rule responds to parent selector text change]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-nesting/nesting-basic.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-nesting/nesting-basic.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[nesting-basic.html]
|
||||
expected: FAIL
|
3
tests/wpt/meta/css/css-nesting/nesting-layer.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-nesting/nesting-layer.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[nesting-layer.html]
|
||||
[@layer can be nested]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-nesting/parsing.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-nesting/parsing.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[parsing.html]
|
||||
expected: ERROR
|
45
tests/wpt/meta/css/css-nesting/serialize-group-rules-with-decls.html.ini
vendored
Normal file
45
tests/wpt/meta/css/css-nesting/serialize-group-rules-with-decls.html.ini
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
[serialize-group-rules-with-decls.html]
|
||||
[Declarations are serialized on one line, rules on two.]
|
||||
expected: FAIL
|
||||
|
||||
[Mixed declarations/rules are on two lines.]
|
||||
expected: FAIL
|
||||
|
||||
[Implicit rule is serialized]
|
||||
expected: FAIL
|
||||
|
||||
[Implicit rule not removed]
|
||||
expected: FAIL
|
||||
|
||||
[Implicit + empty hover rule]
|
||||
expected: FAIL
|
||||
|
||||
[Implicit like rule not in first position]
|
||||
expected: FAIL
|
||||
|
||||
[Two implicit-like rules]
|
||||
expected: FAIL
|
||||
|
||||
[Implicit like rule after decls]
|
||||
expected: FAIL
|
||||
|
||||
[Implicit like rule after decls, missing closing braces]
|
||||
expected: FAIL
|
||||
|
||||
[Implicit like rule with other selectors]
|
||||
expected: FAIL
|
||||
|
||||
[Implicit-like rule in style rule]
|
||||
expected: FAIL
|
||||
|
||||
[Empty conditional rule]
|
||||
expected: FAIL
|
||||
|
||||
[Empty style rule]
|
||||
expected: FAIL
|
||||
|
||||
[Empty conditional inside style rule]
|
||||
expected: FAIL
|
||||
|
||||
[Empty style inside conditional]
|
||||
expected: FAIL
|
21
tests/wpt/meta/css/css-nesting/set-selector-text.html.ini
vendored
Normal file
21
tests/wpt/meta/css/css-nesting/set-selector-text.html.ini
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
[set-selector-text.html]
|
||||
[Outer selectorText text mutation with inner style rule]
|
||||
expected: FAIL
|
||||
|
||||
[Outer selectorText text mutation with inner @media rule]
|
||||
expected: FAIL
|
||||
|
||||
[Outer selectorText text mutation with inner @supports rule]
|
||||
expected: FAIL
|
||||
|
||||
[Outer selectorText text mutation with inner @layer rule]
|
||||
expected: FAIL
|
||||
|
||||
[Outer selectorText text mutation with inner @container rule]
|
||||
expected: FAIL
|
||||
|
||||
[Outer selectorText text mutation with inner @scope rule]
|
||||
expected: FAIL
|
||||
|
||||
[Outer selectorText text mutation with inner nested decl. rule]
|
||||
expected: FAIL
|
2
tests/wpt/meta/css/css-nesting/supports-rule.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-nesting/supports-rule.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[supports-rule.html]
|
||||
expected: FAIL
|
6
tests/wpt/meta/css/css-nesting/top-level-is-scope.html.ini
vendored
Normal file
6
tests/wpt/meta/css/css-nesting/top-level-is-scope.html.ini
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[top-level-is-scope.html]
|
||||
[& as direct ancestor]
|
||||
expected: FAIL
|
||||
|
||||
[& matches scoped element only, not everything]
|
||||
expected: FAIL
|
3
tests/wpt/meta/css/css-nesting/top-level-parent-pseudo-specificity.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-nesting/top-level-parent-pseudo-specificity.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[top-level-parent-pseudo-specificity.html]
|
||||
[CSS Nesting: Specificity of top-level '&']
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue