aboutsummaryrefslogtreecommitdiffstats
path: root/components/fonts/font_template.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2025-03-04 01:19:46 +0100
committerGitHub <noreply@github.com>2025-03-04 00:19:46 +0000
commit0d0bcdeb4dd8849033d04385cd88a2471e53d87d (patch)
tree65c9329c9a3f3946ee1ede4d8687b99d8f446592 /components/fonts/font_template.rs
parent01fa9a6b1bda5372b0d17d0769411df4c9525547 (diff)
downloadservo-0d0bcdeb4dd8849033d04385cd88a2471e53d87d.tar.gz
servo-0d0bcdeb4dd8849033d04385cd88a2471e53d87d.zip
Upgrade Stylo to 2025-03-01 (#35782)
* Upgrade Stylo to 2025-03-01 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Fixup for https://phabricator.services.mozilla.com/D236733 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Update test expectations Signed-off-by: Oriol Brufau <obrufau@igalia.com> --------- Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/fonts/font_template.rs')
-rw-r--r--components/fonts/font_template.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/fonts/font_template.rs b/components/fonts/font_template.rs
index fa81e3206ff..eca1017d14e 100644
--- a/components/fonts/font_template.rs
+++ b/components/fonts/font_template.rs
@@ -115,7 +115,6 @@ impl FontTemplateDescriptor {
}
self.style = match css_font_template_descriptors.style {
Some(ComputedFontStyleDescriptor::Italic) => (FontStyle::ITALIC, FontStyle::ITALIC),
- Some(ComputedFontStyleDescriptor::Normal) => (FontStyle::NORMAL, FontStyle::NORMAL),
Some(ComputedFontStyleDescriptor::Oblique(angle_1, angle_2)) => (
FontStyle::oblique(angle_1.to_float()),
FontStyle::oblique(angle_2.to_float()),