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:
Oriol Brufau 2025-10-02 03:23:05 +02:00 committed by GitHub
parent 8d3db5c8f2
commit df9902e4d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 35 additions and 40 deletions

View file

@ -28,7 +28,6 @@ embedder_traits = { workspace = true }
euclid = { workspace = true }
fonts = { path = "../fonts" }
fonts_traits = { workspace = true }
fxhash = { workspace = true }
html5ever = { workspace = true }
icu_locid = { workspace = true }
icu_segmenter = { workspace = true }

View file

@ -1433,7 +1433,7 @@ struct RegisteredPainterImpl {
painter: Box<dyn Painter>,
name: Atom,
// FIXME: Should be a PrecomputedHashMap.
properties: fxhash::FxHashMap<Atom, PropertyId>,
properties: FxHashMap<Atom, PropertyId>,
}
impl SpeculativePainter for RegisteredPainterImpl {
@ -1448,7 +1448,7 @@ impl SpeculativePainter for RegisteredPainterImpl {
}
impl RegisteredSpeculativePainter for RegisteredPainterImpl {
fn properties(&self) -> &fxhash::FxHashMap<Atom, PropertyId> {
fn properties(&self) -> &FxHashMap<Atom, PropertyId> {
&self.properties
}
fn name(&self) -> Atom {

View file

@ -67,7 +67,6 @@ encoding_rs = { workspace = true }
euclid = { workspace = true }
fonts = { path = "../fonts" }
fonts_traits = { workspace = true }
fxhash = { workspace = true }
glow = { workspace = true }
headers = { workspace = true }
html5ever = { workspace = true }

View file

@ -10,8 +10,8 @@ use base::id::PipelineId;
use constellation_traits::ScriptToConstellationMessage;
use cssparser::ToCss;
use embedder_traits::{AnimationState as AnimationsPresentState, UntrustedNodeAddress};
use fxhash::{FxHashMap, FxHashSet};
use libc::c_void;
use rustc_hash::{FxHashMap, FxHashSet};
use serde::{Deserialize, Serialize};
use style::animation::{
Animation, AnimationSetKey, AnimationState, DocumentAnimationSet, ElementAnimationSet,