mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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:
parent
30b712aaf9
commit
e8d5a019a4
11 changed files with 12 additions and 65 deletions
24
Cargo.lock
generated
24
Cargo.lock
generated
|
@ -6516,7 +6516,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "selectors"
|
||||
version = "0.27.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"bitflags 2.9.0",
|
||||
"cssparser",
|
||||
|
@ -6801,7 +6801,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "servo_arc"
|
||||
version = "0.4.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"stable_deref_trait",
|
||||
|
@ -7253,7 +7253,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "stylo"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"app_units",
|
||||
"arrayvec",
|
||||
|
@ -7311,7 +7311,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "stylo_atoms"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"string_cache",
|
||||
"string_cache_codegen",
|
||||
|
@ -7320,12 +7320,12 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "stylo_config"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
|
||||
[[package]]
|
||||
name = "stylo_derive"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"darling",
|
||||
"proc-macro2",
|
||||
|
@ -7337,7 +7337,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "stylo_dom"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"bitflags 2.9.0",
|
||||
"stylo_malloc_size_of",
|
||||
|
@ -7346,7 +7346,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "stylo_malloc_size_of"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"app_units",
|
||||
"cssparser",
|
||||
|
@ -7363,12 +7363,12 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "stylo_static_prefs"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
|
||||
[[package]]
|
||||
name = "stylo_traits"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"app_units",
|
||||
"bitflags 2.9.0",
|
||||
|
@ -7751,7 +7751,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "to_shmem"
|
||||
version = "0.2.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"cssparser",
|
||||
"servo_arc",
|
||||
|
@ -7764,7 +7764,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "to_shmem_derive"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#bc4717c7842ad59243f00ae76ba23f998c749b94"
|
||||
source = "git+https://github.com/servo/stylo?branch=2025-03-15#600b5c42970fdbe301f18c013a0f0ca4ed5f08db"
|
||||
dependencies = [
|
||||
"darling",
|
||||
"proc-macro2",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[host-nesting-005.html]
|
||||
expected: FAIL
|
|
@ -1,6 +1,3 @@
|
|||
[invalid-inner-rules.html]
|
||||
[Simple CSSOM manipulation of subrules]
|
||||
expected: FAIL
|
||||
|
||||
[Simple CSSOM manipulation of subrules 1]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[invalidation-001.html]
|
||||
[CSS Selectors nested invalidation on changed parent]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[invalidation-002.html]
|
||||
[CSS Selectors nested invalidation on changed child]
|
||||
expected: FAIL
|
|
@ -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
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[nesting-layer.html]
|
||||
[@layer can be nested]
|
||||
expected: FAIL
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[top-level-is-scope.html]
|
||||
[& as direct ancestor]
|
||||
expected: FAIL
|
||||
|
||||
[& matches scoped element only, not everything]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[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