mirror of
https://github.com/servo/servo.git
synced 2025-10-02 17:49:16 +01:00
Upgrade Stylo to 2025-10-01 (#39612)
This continues #39150 Changelog: - Upstream:fd700321cc...b98470a5cb
- Servo fixups:1040a20611...4ba7bdb404
Stylo tracking issue: https://github.com/servo/stylo/issues/247 --------- Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
8d3db5c8f2
commit
df9902e4d0
6 changed files with 35 additions and 40 deletions
50
Cargo.lock
generated
50
Cargo.lock
generated
|
@ -4840,7 +4840,6 @@ dependencies = [
|
||||||
"euclid",
|
"euclid",
|
||||||
"fonts",
|
"fonts",
|
||||||
"fonts_traits",
|
"fonts_traits",
|
||||||
"fxhash",
|
|
||||||
"html5ever",
|
"html5ever",
|
||||||
"icu_locid",
|
"icu_locid",
|
||||||
"icu_segmenter",
|
"icu_segmenter",
|
||||||
|
@ -7312,7 +7311,6 @@ dependencies = [
|
||||||
"euclid",
|
"euclid",
|
||||||
"fonts",
|
"fonts",
|
||||||
"fonts_traits",
|
"fonts_traits",
|
||||||
"fxhash",
|
|
||||||
"glow",
|
"glow",
|
||||||
"headers 0.4.1",
|
"headers 0.4.1",
|
||||||
"html5ever",
|
"html5ever",
|
||||||
|
@ -7527,18 +7525,18 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "selectors"
|
name = "selectors"
|
||||||
version = "0.31.0"
|
version = "0.32.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.9.4",
|
"bitflags 2.9.4",
|
||||||
"cssparser",
|
"cssparser",
|
||||||
"derive_more 2.0.1",
|
"derive_more 2.0.1",
|
||||||
"fxhash",
|
|
||||||
"log",
|
"log",
|
||||||
"new_debug_unreachable",
|
"new_debug_unreachable",
|
||||||
"phf",
|
"phf",
|
||||||
"phf_codegen",
|
"phf_codegen",
|
||||||
"precomputed-hash",
|
"precomputed-hash",
|
||||||
|
"rustc-hash 2.1.1",
|
||||||
"servo_arc",
|
"servo_arc",
|
||||||
"smallvec",
|
"smallvec",
|
||||||
"to_shmem",
|
"to_shmem",
|
||||||
|
@ -7860,8 +7858,8 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "servo_arc"
|
name = "servo_arc"
|
||||||
version = "0.4.1"
|
version = "0.4.2"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
"stable_deref_trait",
|
"stable_deref_trait",
|
||||||
|
@ -8373,8 +8371,8 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stylo"
|
name = "stylo"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units",
|
"app_units",
|
||||||
"arrayvec",
|
"arrayvec",
|
||||||
|
@ -8385,7 +8383,6 @@ dependencies = [
|
||||||
"derive_more 2.0.1",
|
"derive_more 2.0.1",
|
||||||
"encoding_rs",
|
"encoding_rs",
|
||||||
"euclid",
|
"euclid",
|
||||||
"fxhash",
|
|
||||||
"icu_segmenter",
|
"icu_segmenter",
|
||||||
"indexmap",
|
"indexmap",
|
||||||
"itertools 0.14.0",
|
"itertools 0.14.0",
|
||||||
|
@ -8404,6 +8401,7 @@ dependencies = [
|
||||||
"precomputed-hash",
|
"precomputed-hash",
|
||||||
"rayon",
|
"rayon",
|
||||||
"rayon-core",
|
"rayon-core",
|
||||||
|
"rustc-hash 2.1.1",
|
||||||
"selectors",
|
"selectors",
|
||||||
"serde",
|
"serde",
|
||||||
"servo_arc",
|
"servo_arc",
|
||||||
|
@ -8430,8 +8428,8 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stylo_atoms"
|
name = "stylo_atoms"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"string_cache",
|
"string_cache",
|
||||||
"string_cache_codegen",
|
"string_cache_codegen",
|
||||||
|
@ -8439,13 +8437,13 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stylo_config"
|
name = "stylo_config"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stylo_derive"
|
name = "stylo_derive"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"darling",
|
"darling",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
|
@ -8456,8 +8454,8 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stylo_dom"
|
name = "stylo_dom"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.9.4",
|
"bitflags 2.9.4",
|
||||||
"stylo_malloc_size_of",
|
"stylo_malloc_size_of",
|
||||||
|
@ -8465,8 +8463,8 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stylo_malloc_size_of"
|
name = "stylo_malloc_size_of"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units",
|
"app_units",
|
||||||
"cssparser",
|
"cssparser",
|
||||||
|
@ -8482,13 +8480,13 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stylo_static_prefs"
|
name = "stylo_static_prefs"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stylo_traits"
|
name = "stylo_traits"
|
||||||
version = "0.7.0"
|
version = "0.8.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units",
|
"app_units",
|
||||||
"bitflags 2.9.4",
|
"bitflags 2.9.4",
|
||||||
|
@ -8903,7 +8901,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "to_shmem"
|
name = "to_shmem"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cssparser",
|
"cssparser",
|
||||||
"servo_arc",
|
"servo_arc",
|
||||||
|
@ -8916,7 +8914,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "to_shmem_derive"
|
name = "to_shmem_derive"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/servo/stylo?branch=2025-09-02#d10ddece8ffe2310e09bf20062fc9c6b223d4fd8"
|
source = "git+https://github.com/servo/stylo?branch=2025-10-01#4ba7bdb4040a909bf3d6e326b229602c93014618"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"darling",
|
"darling",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
|
|
17
Cargo.toml
17
Cargo.toml
|
@ -63,7 +63,6 @@ env_logger = "0.11"
|
||||||
euclid = "0.22"
|
euclid = "0.22"
|
||||||
fonts_traits = { path = "components/shared/fonts" }
|
fonts_traits = { path = "components/shared/fonts" }
|
||||||
freetype-sys = "0.20"
|
freetype-sys = "0.20"
|
||||||
fxhash = "0.2"
|
|
||||||
gleam = "0.15"
|
gleam = "0.15"
|
||||||
glow = "0.16.0"
|
glow = "0.16.0"
|
||||||
gstreamer = { version = "0.23", features = ["v1_18"] }
|
gstreamer = { version = "0.23", features = ["v1_18"] }
|
||||||
|
@ -129,7 +128,7 @@ rustls = { version = "0.23", default-features = false, features = ["logging", "s
|
||||||
rustls-pemfile = "2.0"
|
rustls-pemfile = "2.0"
|
||||||
rustls-pki-types = "1.12"
|
rustls-pki-types = "1.12"
|
||||||
script_traits = { path = "components/shared/script" }
|
script_traits = { path = "components/shared/script" }
|
||||||
selectors = { git = "https://github.com/servo/stylo", branch = "2025-09-02" }
|
selectors = { git = "https://github.com/servo/stylo", branch = "2025-10-01" }
|
||||||
serde = "1.0.228"
|
serde = "1.0.228"
|
||||||
serde_bytes = "0.11"
|
serde_bytes = "0.11"
|
||||||
serde_core = "1.0.226"
|
serde_core = "1.0.226"
|
||||||
|
@ -138,19 +137,19 @@ servo-media = { git = "https://github.com/servo/media" }
|
||||||
servo-media-dummy = { 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-media-gstreamer = { git = "https://github.com/servo/media" }
|
||||||
servo-tracing = { path = "components/servo_tracing" }
|
servo-tracing = { path = "components/servo_tracing" }
|
||||||
servo_arc = { git = "https://github.com/servo/stylo", branch = "2025-09-02" }
|
servo_arc = { git = "https://github.com/servo/stylo", branch = "2025-10-01" }
|
||||||
skrifa = "0.35.0"
|
skrifa = "0.35.0"
|
||||||
smallvec = { version = "1.15", features = ["serde", "union"] }
|
smallvec = { version = "1.15", features = ["serde", "union"] }
|
||||||
storage_traits = { path = "components/shared/storage" }
|
storage_traits = { path = "components/shared/storage" }
|
||||||
string_cache = "0.8"
|
string_cache = "0.8"
|
||||||
strum = "0.26"
|
strum = "0.26"
|
||||||
strum_macros = "0.26"
|
strum_macros = "0.26"
|
||||||
stylo = { git = "https://github.com/servo/stylo", branch = "2025-09-02" }
|
stylo = { git = "https://github.com/servo/stylo", branch = "2025-10-01" }
|
||||||
stylo_atoms = { git = "https://github.com/servo/stylo", branch = "2025-09-02" }
|
stylo_atoms = { git = "https://github.com/servo/stylo", branch = "2025-10-01" }
|
||||||
stylo_config = { git = "https://github.com/servo/stylo", branch = "2025-09-02" }
|
stylo_config = { git = "https://github.com/servo/stylo", branch = "2025-10-01" }
|
||||||
stylo_dom = { git = "https://github.com/servo/stylo", branch = "2025-09-02" }
|
stylo_dom = { git = "https://github.com/servo/stylo", branch = "2025-10-01" }
|
||||||
stylo_malloc_size_of = { git = "https://github.com/servo/stylo", branch = "2025-09-02" }
|
stylo_malloc_size_of = { git = "https://github.com/servo/stylo", branch = "2025-10-01" }
|
||||||
stylo_traits = { git = "https://github.com/servo/stylo", branch = "2025-09-02" }
|
stylo_traits = { git = "https://github.com/servo/stylo", branch = "2025-10-01" }
|
||||||
surfman = { version = "0.10.0", features = ["chains"] }
|
surfman = { version = "0.10.0", features = ["chains"] }
|
||||||
syn = { version = "2", default-features = false, features = ["clone-impls", "derive", "parsing"] }
|
syn = { version = "2", default-features = false, features = ["clone-impls", "derive", "parsing"] }
|
||||||
synstructure = "0.13"
|
synstructure = "0.13"
|
||||||
|
|
|
@ -28,7 +28,6 @@ embedder_traits = { workspace = true }
|
||||||
euclid = { workspace = true }
|
euclid = { workspace = true }
|
||||||
fonts = { path = "../fonts" }
|
fonts = { path = "../fonts" }
|
||||||
fonts_traits = { workspace = true }
|
fonts_traits = { workspace = true }
|
||||||
fxhash = { workspace = true }
|
|
||||||
html5ever = { workspace = true }
|
html5ever = { workspace = true }
|
||||||
icu_locid = { workspace = true }
|
icu_locid = { workspace = true }
|
||||||
icu_segmenter = { workspace = true }
|
icu_segmenter = { workspace = true }
|
||||||
|
|
|
@ -1433,7 +1433,7 @@ struct RegisteredPainterImpl {
|
||||||
painter: Box<dyn Painter>,
|
painter: Box<dyn Painter>,
|
||||||
name: Atom,
|
name: Atom,
|
||||||
// FIXME: Should be a PrecomputedHashMap.
|
// FIXME: Should be a PrecomputedHashMap.
|
||||||
properties: fxhash::FxHashMap<Atom, PropertyId>,
|
properties: FxHashMap<Atom, PropertyId>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SpeculativePainter for RegisteredPainterImpl {
|
impl SpeculativePainter for RegisteredPainterImpl {
|
||||||
|
@ -1448,7 +1448,7 @@ impl SpeculativePainter for RegisteredPainterImpl {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl RegisteredSpeculativePainter for RegisteredPainterImpl {
|
impl RegisteredSpeculativePainter for RegisteredPainterImpl {
|
||||||
fn properties(&self) -> &fxhash::FxHashMap<Atom, PropertyId> {
|
fn properties(&self) -> &FxHashMap<Atom, PropertyId> {
|
||||||
&self.properties
|
&self.properties
|
||||||
}
|
}
|
||||||
fn name(&self) -> Atom {
|
fn name(&self) -> Atom {
|
||||||
|
|
|
@ -67,7 +67,6 @@ encoding_rs = { workspace = true }
|
||||||
euclid = { workspace = true }
|
euclid = { workspace = true }
|
||||||
fonts = { path = "../fonts" }
|
fonts = { path = "../fonts" }
|
||||||
fonts_traits = { workspace = true }
|
fonts_traits = { workspace = true }
|
||||||
fxhash = { workspace = true }
|
|
||||||
glow = { workspace = true }
|
glow = { workspace = true }
|
||||||
headers = { workspace = true }
|
headers = { workspace = true }
|
||||||
html5ever = { workspace = true }
|
html5ever = { workspace = true }
|
||||||
|
|
|
@ -10,8 +10,8 @@ use base::id::PipelineId;
|
||||||
use constellation_traits::ScriptToConstellationMessage;
|
use constellation_traits::ScriptToConstellationMessage;
|
||||||
use cssparser::ToCss;
|
use cssparser::ToCss;
|
||||||
use embedder_traits::{AnimationState as AnimationsPresentState, UntrustedNodeAddress};
|
use embedder_traits::{AnimationState as AnimationsPresentState, UntrustedNodeAddress};
|
||||||
use fxhash::{FxHashMap, FxHashSet};
|
|
||||||
use libc::c_void;
|
use libc::c_void;
|
||||||
|
use rustc_hash::{FxHashMap, FxHashSet};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use style::animation::{
|
use style::animation::{
|
||||||
Animation, AnimationSetKey, AnimationState, DocumentAnimationSet, ElementAnimationSet,
|
Animation, AnimationSetKey, AnimationState, DocumentAnimationSet, ElementAnimationSet,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue