diff --git a/Cargo.lock b/Cargo.lock index 8e6f4070f27..2076af703d3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7541,7 +7541,7 @@ dependencies = [ [[package]] name = "selectors" version = "0.31.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "bitflags 2.9.4", "cssparser", @@ -7860,7 +7860,7 @@ dependencies = [ [[package]] name = "servo_arc" version = "0.4.1" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "serde", "stable_deref_trait", @@ -8338,8 +8338,8 @@ dependencies = [ [[package]] name = "stylo" -version = "0.6.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +version = "0.7.0" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "app_units", "arrayvec", @@ -8395,8 +8395,8 @@ dependencies = [ [[package]] name = "stylo_atoms" -version = "0.6.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +version = "0.7.0" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "string_cache", "string_cache_codegen", @@ -8404,13 +8404,13 @@ dependencies = [ [[package]] name = "stylo_config" -version = "0.6.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +version = "0.7.0" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" [[package]] name = "stylo_derive" -version = "0.6.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +version = "0.7.0" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "darling", "proc-macro2", @@ -8421,8 +8421,8 @@ dependencies = [ [[package]] name = "stylo_dom" -version = "0.6.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +version = "0.7.0" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "bitflags 2.9.4", "stylo_malloc_size_of", @@ -8430,8 +8430,8 @@ dependencies = [ [[package]] name = "stylo_malloc_size_of" -version = "0.6.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +version = "0.7.0" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "app_units", "cssparser", @@ -8447,13 +8447,13 @@ dependencies = [ [[package]] name = "stylo_static_prefs" -version = "0.6.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +version = "0.7.0" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" [[package]] name = "stylo_traits" -version = "0.6.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +version = "0.7.0" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "app_units", "bitflags 2.9.4", @@ -8867,7 +8867,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "to_shmem" version = "0.2.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "cssparser", "servo_arc", @@ -8880,7 +8880,7 @@ dependencies = [ [[package]] name = "to_shmem_derive" version = "0.1.0" -source = "git+https://github.com/servo/stylo?branch=2025-08-01#35cd8025bb3d5c4cc50db80cb65f9b1840e5ac5a" +source = "git+https://github.com/servo/stylo?branch=2025-09-02#64d8521f1b8509a0160a89e24d0ace2883fa3269" dependencies = [ "darling", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index daaa97f2027..0b6859d0708 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -128,7 +128,7 @@ rustls = { version = "0.23", default-features = false, features = ["logging", "s rustls-pemfile = "2.0" rustls-pki-types = "1.12" script_traits = { path = "components/shared/script" } -selectors = { git = "https://github.com/servo/stylo", branch = "2025-08-01" } +selectors = { git = "https://github.com/servo/stylo", branch = "2025-09-02" } serde = "1.0.219" serde_bytes = "0.11" serde_json = "1.0" @@ -136,18 +136,18 @@ servo-media = { git = "https://github.com/servo/media" } servo-media-dummy = { git = "https://github.com/servo/media" } servo-media-gstreamer = { git = "https://github.com/servo/media" } servo-tracing = { path = "components/servo_tracing" } -servo_arc = { git = "https://github.com/servo/stylo", branch = "2025-08-01" } +servo_arc = { git = "https://github.com/servo/stylo", branch = "2025-09-02" } skrifa = "0.35.0" smallvec = { version = "1.15", features = ["serde", "union"] } string_cache = "0.8" strum = "0.26" strum_macros = "0.26" -stylo = { git = "https://github.com/servo/stylo", branch = "2025-08-01" } -stylo_atoms = { git = "https://github.com/servo/stylo", branch = "2025-08-01" } -stylo_config = { git = "https://github.com/servo/stylo", branch = "2025-08-01" } -stylo_dom = { git = "https://github.com/servo/stylo", branch = "2025-08-01" } -stylo_malloc_size_of = { git = "https://github.com/servo/stylo", branch = "2025-08-01" } -stylo_traits = { git = "https://github.com/servo/stylo", branch = "2025-08-01" } +stylo = { git = "https://github.com/servo/stylo", branch = "2025-09-02" } +stylo_atoms = { git = "https://github.com/servo/stylo", branch = "2025-09-02" } +stylo_config = { git = "https://github.com/servo/stylo", branch = "2025-09-02" } +stylo_dom = { git = "https://github.com/servo/stylo", branch = "2025-09-02" } +stylo_malloc_size_of = { git = "https://github.com/servo/stylo", branch = "2025-09-02" } +stylo_traits = { git = "https://github.com/servo/stylo", branch = "2025-09-02" } surfman = { version = "0.10.0", features = ["chains"] } syn = { version = "2", default-features = false, features = ["clone-impls", "derive", "parsing"] } synstructure = "0.13" diff --git a/components/layout/query.rs b/components/layout/query.rs index c8b0348ef79..0a35c24e344 100644 --- a/components/layout/query.rs +++ b/components/layout/query.rs @@ -468,7 +468,13 @@ fn shorthand_to_css_string( let mut dest = String::new(); for longhand in id.longhands() { block.push( - style.computed_or_resolved_declaration(longhand, Some(&Context { style })), + style.computed_or_resolved_declaration( + longhand, + Some(&Context { + style, + for_property: longhand.into(), + }), + ), Importance::Normal, ); } diff --git a/tests/wpt/meta/css/css-transforms/parsing/rotate-parsing-computed.html.ini b/tests/wpt/meta/css/css-transforms/parsing/rotate-parsing-computed.html.ini deleted file mode 100644 index 1dfea07fa96..00000000000 --- a/tests/wpt/meta/css/css-transforms/parsing/rotate-parsing-computed.html.ini +++ /dev/null @@ -1,18 +0,0 @@ -[rotate-parsing-computed.html] - [Property rotate value '-0.5 0 0 400grad'] - expected: FAIL - - [Property rotate value '-1 0 0 400grad'] - expected: FAIL - - [Property rotate value '0 -0.5 0 400grad'] - expected: FAIL - - [Property rotate value '0 -1 0 400grad'] - expected: FAIL - - [Property rotate value '0 0 -0.5 400grad'] - expected: FAIL - - [Property rotate value '0 0 -1 400grad'] - expected: FAIL diff --git a/tests/wpt/meta/css/css-transforms/parsing/rotate-parsing-valid.html.ini b/tests/wpt/meta/css/css-transforms/parsing/rotate-parsing-valid.html.ini deleted file mode 100644 index 3a8b2c9ee48..00000000000 --- a/tests/wpt/meta/css/css-transforms/parsing/rotate-parsing-valid.html.ini +++ /dev/null @@ -1,21 +0,0 @@ -[rotate-parsing-valid.html] - [e.style['rotate'\] = "z 400grad" should set the property value] - expected: FAIL - - [e.style['rotate'\] = "-0.5 0 0 400grad" should set the property value] - expected: FAIL - - [e.style['rotate'\] = "-1 0 0 400grad" should set the property value] - expected: FAIL - - [e.style['rotate'\] = "0 -0.5 0 400grad" should set the property value] - expected: FAIL - - [e.style['rotate'\] = "0 -1 0 400grad" should set the property value] - expected: FAIL - - [e.style['rotate'\] = "0 0 -0.5 400grad" should set the property value] - expected: FAIL - - [e.style['rotate'\] = "0 0 -1 400grad" should set the property value] - expected: FAIL