Support the :host selector (#34870)

* Update stylo

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Update WPT expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-01-07 09:54:52 +01:00 committed by GitHub
parent ab52cdae1f
commit 8a68d47409
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 16 additions and 23 deletions

30
Cargo.lock generated
View file

@ -957,7 +957,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c"
dependencies = [
"lazy_static",
"windows-sys 0.48.0",
"windows-sys 0.52.0",
]
[[package]]
@ -1608,7 +1608,7 @@ dependencies = [
[[package]]
name = "dom"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"bitflags 2.6.0",
"malloc_size_of",
@ -4048,7 +4048,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
dependencies = [
"cfg-if",
"windows-targets 0.48.5",
"windows-targets 0.52.6",
]
[[package]]
@ -4220,7 +4220,7 @@ dependencies = [
[[package]]
name = "malloc_size_of"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"app_units",
"cssparser",
@ -6175,7 +6175,7 @@ dependencies = [
[[package]]
name = "selectors"
version = "0.26.0"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"bitflags 2.6.0",
"cssparser",
@ -6463,7 +6463,7 @@ dependencies = [
[[package]]
name = "servo_arc"
version = "0.4.0"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"serde",
"stable_deref_trait",
@ -6472,7 +6472,7 @@ dependencies = [
[[package]]
name = "servo_atoms"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"string_cache",
"string_cache_codegen",
@ -6844,7 +6844,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "static_prefs"
version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
[[package]]
name = "strck"
@ -6903,7 +6903,7 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
[[package]]
name = "style"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"app_units",
"arrayvec",
@ -6961,7 +6961,7 @@ dependencies = [
[[package]]
name = "style_config"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"lazy_static",
]
@ -6969,7 +6969,7 @@ dependencies = [
[[package]]
name = "style_derive"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"darling",
"proc-macro2",
@ -6999,7 +6999,7 @@ dependencies = [
[[package]]
name = "style_traits"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"app_units",
"bitflags 2.6.0",
@ -7394,7 +7394,7 @@ dependencies = [
[[package]]
name = "to_shmem"
version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"cssparser",
"servo_arc",
@ -7407,7 +7407,7 @@ dependencies = [
[[package]]
name = "to_shmem_derive"
version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#098f1bef3e231bbf86038c0a2b1ddc31031dc422"
source = "git+https://github.com/servo/stylo?branch=2024-12-04#7e529e8cf99502c99e431515de095d18548219d5"
dependencies = [
"darling",
"proc-macro2",
@ -8445,7 +8445,7 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [
"windows-sys 0.48.0",
"windows-sys 0.52.0",
]
[[package]]

View file

@ -1,2 +0,0 @@
[revert-layer-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[revert-layer-013.html]
expected: FAIL

View file

@ -18,7 +18,7 @@
expected: FAIL
[Unknown pseudo-element with a known identifier: backdrop]
expected: PRECONDITION_FAILED
expected: FAIL
[Unknown pseudo-element with a known identifier: file-selector-button]
expected: PRECONDITION_FAILED

View file

@ -1,3 +0,0 @@
[parse-not.html]
[":not(:host)" should be a valid selector]
expected: FAIL