use au in TextFragment (#32653)

This commit is contained in:
atbrakhi 2024-07-03 09:27:08 +02:00 committed by GitHub
parent fe58a5f0a3
commit 4357751f28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 5 deletions

View file

@ -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)]