From 0d0bcdeb4dd8849033d04385cd88a2471e53d87d Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Tue, 4 Mar 2025 01:19:46 +0100 Subject: Upgrade Stylo to 2025-03-01 (#35782) * Upgrade Stylo to 2025-03-01 Signed-off-by: Oriol Brufau * Fixup for https://phabricator.services.mozilla.com/D236733 Signed-off-by: Oriol Brufau * Update test expectations Signed-off-by: Oriol Brufau --------- Signed-off-by: Oriol Brufau --- components/fonts/system_font_service.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'components/fonts/system_font_service.rs') diff --git a/components/fonts/system_font_service.rs b/components/fonts/system_font_service.rs index 6cbd5390122..61b36e699df 100644 --- a/components/fonts/system_font_service.rs +++ b/components/fonts/system_font_service.rs @@ -359,7 +359,6 @@ pub struct SystemFontServiceProxy { /// because the specified version of `FontStyle` contains floats. #[derive(Clone, Debug, Deserialize, Serialize)] pub enum ComputedFontStyleDescriptor { - Normal, Italic, Oblique(FontStyleFixedPoint, FontStyleFixedPoint), } @@ -416,7 +415,6 @@ impl From<&FontFaceRuleData> for CSSFontFaceDescriptors { fn style_to_computed(specified: &FontFaceStyle) -> ComputedFontStyleDescriptor { match specified { - FontFaceStyle::Normal => ComputedFontStyleDescriptor::Normal, FontFaceStyle::Italic => ComputedFontStyleDescriptor::Italic, FontFaceStyle::Oblique(angle_a, angle_b) => ComputedFontStyleDescriptor::Oblique( FixedPoint::from_float(angle_a.degrees()), -- cgit v1.2.3