diff options
author | atbrakhi <atbrakhi@igalia.com> | 2024-07-03 09:27:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 07:27:08 +0000 |
commit | 4357751f285c79bf37a8e7a02d4c8dc4f7a8ae69 (patch) | |
tree | a7005ddfdd59c2cf1690ac89fe224edb5b359386 /components/layout_2020/fragment_tree/fragment.rs | |
parent | fe58a5f0a3bd9a20e368ed283dfcb89769f75c00 (diff) | |
download | servo-4357751f285c79bf37a8e7a02d4c8dc4f7a8ae69.tar.gz servo-4357751f285c79bf37a8e7a02d4c8dc4f7a8ae69.zip |
use au in TextFragment (#32653)
Diffstat (limited to 'components/layout_2020/fragment_tree/fragment.rs')
-rw-r--r-- | components/layout_2020/fragment_tree/fragment.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout_2020/fragment_tree/fragment.rs b/components/layout_2020/fragment_tree/fragment.rs index 7fcf2cfbb18..8456ef3eec6 100644 --- a/components/layout_2020/fragment_tree/fragment.rs +++ b/components/layout_2020/fragment_tree/fragment.rs @@ -11,7 +11,6 @@ use fonts::{FontMetrics, GlyphStore}; use serde::Serialize; use servo_arc::Arc as ServoArc; use style::properties::ComputedValues; -use style::values::computed::Length; use style::values::specified::text::TextDecorationLine; use style::Zero; use webrender_api::{FontInstanceKey, ImageKey}; @@ -75,7 +74,7 @@ pub(crate) struct TextFragment { pub text_decoration_line: TextDecorationLine, /// Extra space to add for each justification opportunity. - pub justification_adjustment: Length, + pub justification_adjustment: Au, } #[derive(Serialize)] |