From fb2f6b397f359f2e7b98c59dce76b0a10fa03449 Mon Sep 17 00:00:00 2001 From: lanyue-llk <270302213+lanyue-llk@users.noreply.github.com> Date: Thu, 8 Oct 2026 16:36:07 +0800 Subject: [PATCH] build(style): retain preferred text scale with current Stylo APIs --- Cargo.lock | 22 +++++++++++----------- Cargo.toml | 14 +++++++------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fc4a6af0aa..a349a1eea4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4658,7 +4658,7 @@ dependencies = [ [[package]] name = "selectors" version = "0.40.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "bitflags", "cssparser", @@ -4790,7 +4790,7 @@ dependencies = [ [[package]] name = "servo_arc" version = "0.4.3" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "serde", "stable_deref_trait", @@ -5055,7 +5055,7 @@ dependencies = [ [[package]] name = "stylo" version = "0.20.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "app_units", "arrayvec", @@ -5111,7 +5111,7 @@ dependencies = [ [[package]] name = "stylo_atoms" version = "0.20.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "string_cache", "string_cache_codegen", @@ -5120,7 +5120,7 @@ dependencies = [ [[package]] name = "stylo_derive" version = "0.20.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "darling", "proc-macro2", @@ -5132,7 +5132,7 @@ dependencies = [ [[package]] name = "stylo_dom" version = "0.20.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "bitflags", "stylo_malloc_size_of", @@ -5141,7 +5141,7 @@ dependencies = [ [[package]] name = "stylo_malloc_size_of" version = "0.20.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "app_units", "cssparser", @@ -5158,7 +5158,7 @@ dependencies = [ [[package]] name = "stylo_static_prefs" version = "0.20.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "toml", ] @@ -5176,7 +5176,7 @@ dependencies = [ [[package]] name = "stylo_traits" version = "0.20.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "app_units", "bitflags", @@ -5475,7 +5475,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "to_shmem" version = "0.5.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "cssparser", "servo_arc", @@ -5488,7 +5488,7 @@ dependencies = [ [[package]] name = "to_shmem_derive" version = "0.1.0" -source = "git+https://github.com/lexmount/stylo?rev=0c7e8baf63b6714e7614834fadbc09710f3c3d27#0c7e8baf63b6714e7614834fadbc09710f3c3d27" +source = "git+https://github.com/lanyue-llk/stylo?rev=0db9840e674f6ad45c4df06961501b1a26bd2827#0db9840e674f6ad45c4df06961501b1a26bd2827" dependencies = [ "darling", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index df72c53edc..43435699b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -106,13 +106,13 @@ curl-sys = { git = "https://github.com/lexmount/curl-rust", rev = "a0ea59f5ca1b1 cookie = { git = "https://github.com/ldm0/cookie-rs", branch = "priority" } v8 = { path = "vendor/v8-152.2.0" } deno_v8 = { path = "vendor/deno_v8-0.3.0" } -selectors = { git = "https://github.com/lexmount/stylo", rev = "0c7e8baf63b6714e7614834fadbc09710f3c3d27" } -servo_arc = { git = "https://github.com/lexmount/stylo", rev = "0c7e8baf63b6714e7614834fadbc09710f3c3d27" } -stylo = { git = "https://github.com/lexmount/stylo", rev = "0c7e8baf63b6714e7614834fadbc09710f3c3d27" } -stylo_atoms = { git = "https://github.com/lexmount/stylo", rev = "0c7e8baf63b6714e7614834fadbc09710f3c3d27" } -stylo_dom = { git = "https://github.com/lexmount/stylo", rev = "0c7e8baf63b6714e7614834fadbc09710f3c3d27" } -stylo_static_prefs = { git = "https://github.com/lexmount/stylo", rev = "0c7e8baf63b6714e7614834fadbc09710f3c3d27" } -stylo_traits = { git = "https://github.com/lexmount/stylo", rev = "0c7e8baf63b6714e7614834fadbc09710f3c3d27" } +selectors = { git = "https://github.com/lanyue-llk/stylo", rev = "0db9840e674f6ad45c4df06961501b1a26bd2827" } +servo_arc = { git = "https://github.com/lanyue-llk/stylo", rev = "0db9840e674f6ad45c4df06961501b1a26bd2827" } +stylo = { git = "https://github.com/lanyue-llk/stylo", rev = "0db9840e674f6ad45c4df06961501b1a26bd2827" } +stylo_atoms = { git = "https://github.com/lanyue-llk/stylo", rev = "0db9840e674f6ad45c4df06961501b1a26bd2827" } +stylo_dom = { git = "https://github.com/lanyue-llk/stylo", rev = "0db9840e674f6ad45c4df06961501b1a26bd2827" } +stylo_static_prefs = { git = "https://github.com/lanyue-llk/stylo", rev = "0db9840e674f6ad45c4df06961501b1a26bd2827" } +stylo_traits = { git = "https://github.com/lanyue-llk/stylo", rev = "0db9840e674f6ad45c4df06961501b1a26bd2827" } svgtypes = { git = "https://github.com/lexmount/svgtypes", branch = "feat/strict-path-numbers" } taffy = { git = "https://github.com/ldm0/taffy", rev = "645bf5a49df607a8bff34ec90c5343901d04f10e" }