mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
use au in TextFragment (#32653)
This commit is contained in:
parent
fe58a5f0a3
commit
4357751f28
3 changed files with 4 additions and 5 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue