Enable CSS parent selector (&) (#36249)

Bumps Stylo to servo/stylo#164
Changelog:
bc4717c784...600b5c4297

Testing: covered by WPT
This is part of https://github.com/servo/servo/issues/36245

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-04-01 11:08:18 +02:00 committed by GitHub
parent 30b712aaf9
commit e8d5a019a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 12 additions and 65 deletions

View file

@ -26,14 +26,8 @@
[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

View file

@ -1,2 +0,0 @@
[host-nesting-005.html]
expected: FAIL

View file

@ -1,6 +1,3 @@
[invalid-inner-rules.html]
[Simple CSSOM manipulation of subrules]
expected: FAIL
[Simple CSSOM manipulation of subrules 1]
expected: FAIL

View file

@ -1,3 +0,0 @@
[invalidation-001.html]
[CSS Selectors nested invalidation on changed parent]
expected: FAIL

View file

@ -1,3 +0,0 @@
[invalidation-002.html]
[CSS Selectors nested invalidation on changed child]
expected: FAIL

View file

@ -1,18 +1,6 @@
[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

View file

@ -1,3 +0,0 @@
[nesting-layer.html]
[@layer can be nested]
expected: FAIL

View file

@ -1,21 +1,6 @@
[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

View file

@ -1,6 +1,3 @@
[top-level-is-scope.html]
[& as direct ancestor]
expected: FAIL
[& matches scoped element only, not everything]
expected: FAIL

View file

@ -1,3 +0,0 @@
[top-level-parent-pseudo-specificity.html]
[CSS Nesting: Specificity of top-level '&']
expected: FAIL