Allow parsing transition-behavior value in transition shorthand (#34005)

Bump Stylo to https://github.com/servo/stylo/pull/85

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2024-10-25 19:39:56 +02:00 committed by GitHub
parent dfe1c95aa6
commit 5d4b5514aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 79 deletions

26
Cargo.lock generated
View file

@ -1639,7 +1639,7 @@ dependencies = [
[[package]]
name = "dom"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"bitflags 2.6.0",
]
@ -4265,7 +4265,7 @@ dependencies = [
[[package]]
name = "malloc_size_of"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"accountable-refcell",
"app_units",
@ -6265,7 +6265,7 @@ dependencies = [
[[package]]
name = "selectors"
version = "0.25.0"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"bitflags 2.6.0",
"cssparser",
@ -6553,7 +6553,7 @@ dependencies = [
[[package]]
name = "servo_arc"
version = "0.4.0"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"serde",
"stable_deref_trait",
@ -6562,7 +6562,7 @@ dependencies = [
[[package]]
name = "servo_atoms"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"string_cache",
"string_cache_codegen",
@ -6782,7 +6782,7 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
[[package]]
name = "size_of_test"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"static_assertions",
]
@ -6923,7 +6923,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "static_prefs"
version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
[[package]]
name = "strck"
@ -6976,7 +6976,7 @@ dependencies = [
[[package]]
name = "style"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"app_units",
"arrayvec",
@ -7034,7 +7034,7 @@ dependencies = [
[[package]]
name = "style_config"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"lazy_static",
]
@ -7042,7 +7042,7 @@ dependencies = [
[[package]]
name = "style_derive"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"darling",
"proc-macro2",
@ -7072,7 +7072,7 @@ dependencies = [
[[package]]
name = "style_traits"
version = "0.0.1"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"app_units",
"bitflags 2.6.0",
@ -7441,7 +7441,7 @@ dependencies = [
[[package]]
name = "to_shmem"
version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"cssparser",
"servo_arc",
@ -7454,7 +7454,7 @@ dependencies = [
[[package]]
name = "to_shmem_derive"
version = "0.1.0"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#e3406b494050891193bc5123020d83c998366b88"
source = "git+https://github.com/servo/stylo?branch=2024-10-04#789ab89c30d94e25f514c19c079a00a6ab583638"
dependencies = [
"darling",
"proc-macro2",

View file

@ -1,66 +0,0 @@
[transition-behavior.html]
[e.style['transition'\] = "allow-discrete display" should set the property value]
expected: FAIL
[Property transition value 'allow-discrete display']
expected: FAIL
[e.style['transition'\] = "allow-discrete display 3s" should set the property value]
expected: FAIL
[Property transition value 'allow-discrete display 3s']
expected: FAIL
[e.style['transition'\] = "allow-discrete display 3s 1s" should set the property value]
expected: FAIL
[Property transition value 'allow-discrete display 3s 1s']
expected: FAIL
[e.style['transition'\] = "allow-discrete display 3s ease-in-out" should set the property value]
expected: FAIL
[Property transition value 'allow-discrete display 3s ease-in-out']
expected: FAIL
[e.style['transition'\] = "allow-discrete display 3s ease-in-out 1s" should set the property value]
expected: FAIL
[Property transition value 'allow-discrete display 3s ease-in-out 1s']
expected: FAIL
[e.style['transition'\] = "display allow-discrete 3s ease-in-out 1s" should set the property value]
expected: FAIL
[e.style['transition'\] = "display 3s allow-discrete ease-in-out 1s" should set the property value]
expected: FAIL
[e.style['transition'\] = "display 3s ease-in-out allow-discrete 1s" should set the property value]
expected: FAIL
[e.style['transition'\] = "display 3s ease-in-out 1s allow-discrete" should set the property value]
expected: FAIL
[Property transition value 'display allow-discrete 3s ease-in-out 1s']
expected: FAIL
[Property transition value 'display 3s allow-discrete ease-in-out 1s']
expected: FAIL
[Property transition value 'display 3s ease-in-out allow-discrete 1s']
expected: FAIL
[Property transition value 'display 3s ease-in-out 1s allow-discrete']
expected: FAIL
[e.style['transition'\] = "allow-discrete display, normal opacity, color" should set the property value]
expected: FAIL
[Property transition value 'allow-discrete display, normal opacity, color']
expected: FAIL
[e.style['transition'\] = "normal opacity, color, allow-discrete display" should set the property value]
expected: FAIL
[Property transition value 'normal opacity, color, allow-discrete display']
expected: FAIL