mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
layout: Fix servo build.
TextAlign now implements FromPrimitive instead of an ad-hoc method.
This commit is contained in:
parent
c6ead1dc0e
commit
48ce20b6fe
3 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,7 @@ use crate::table_wrapper::TableWrapperFlow;
|
|||
use euclid::{Point2D, Rect, Size2D, Vector2D};
|
||||
use gfx_traits::print_tree::PrintTree;
|
||||
use gfx_traits::StackingContextId;
|
||||
use num_traits::cast::FromPrimitive;
|
||||
use serde::ser::{Serialize, SerializeStruct, Serializer};
|
||||
use servo_geometry::{au_rect_to_f32_rect, f32_rect_to_au_rect, MaxRect};
|
||||
use std::fmt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue