layout: Ensure that the last transition for a property take precedence (#37176)

This change bumps stylo to servo/stylo#214, to fix an issue where
transition
properties defined earlier on the list of transitions were taking
preference over
those defined later.

Testing: This fixes a couple WPT tests.
Fixes: #37164

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
Euclid Ye 2025-07-03 19:28:14 +08:00 committed by GitHub
parent 82f7f761d9
commit 06cc4bdae7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 26 deletions

24
Cargo.lock generated
View file

@ -7247,7 +7247,7 @@ dependencies = [
[[package]]
name = "selectors"
version = "0.30.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"bitflags 2.9.1",
"cssparser",
@ -7553,7 +7553,7 @@ dependencies = [
[[package]]
name = "servo_arc"
version = "0.4.1"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"serde",
"stable_deref_trait",
@ -8015,7 +8015,7 @@ dependencies = [
[[package]]
name = "stylo"
version = "0.5.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"app_units",
"arrayvec",
@ -8072,7 +8072,7 @@ dependencies = [
[[package]]
name = "stylo_atoms"
version = "0.5.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"string_cache",
"string_cache_codegen",
@ -8081,12 +8081,12 @@ dependencies = [
[[package]]
name = "stylo_config"
version = "0.5.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
[[package]]
name = "stylo_derive"
version = "0.5.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"darling",
"proc-macro2",
@ -8098,7 +8098,7 @@ dependencies = [
[[package]]
name = "stylo_dom"
version = "0.5.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"bitflags 2.9.1",
"stylo_malloc_size_of",
@ -8107,7 +8107,7 @@ dependencies = [
[[package]]
name = "stylo_malloc_size_of"
version = "0.5.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"app_units",
"cssparser",
@ -8124,12 +8124,12 @@ dependencies = [
[[package]]
name = "stylo_static_prefs"
version = "0.5.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
[[package]]
name = "stylo_traits"
version = "0.5.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"app_units",
"bitflags 2.9.1",
@ -8546,7 +8546,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "to_shmem"
version = "0.2.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"cssparser",
"servo_arc",
@ -8559,7 +8559,7 @@ dependencies = [
[[package]]
name = "to_shmem_derive"
version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#31a2c9cfa9a8fe8e980ada1a7502d07397a03873"
source = "git+https://github.com/servo/stylo?branch=2025-07-01#ece49719ac02599750bd15901ecd7be24e96a26a"
dependencies = [
"darling",
"proc-macro2",

View file

@ -1,10 +0,0 @@
[events-005.html]
[padding-left, padding]
expected: FAIL
[padding, padding-left]
expected: FAIL
[property repetition]
expected: FAIL

View file

@ -1,4 +0,0 @@
[transition-duration-shorthand.html]
[transition-duration when looking at shorthand properties should be correct]
expected: FAIL