mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Hoist exported ThreadSafeLayoutFoo functionality into traits.
This commit is contained in:
parent
05db7b3652
commit
a85ae24c51
8 changed files with 237 additions and 174 deletions
|
@ -50,7 +50,7 @@ use util::geometry::ZERO_POINT;
|
|||
use util::logical_geometry::{LogicalMargin, LogicalRect, LogicalSize, WritingMode};
|
||||
use util::range::*;
|
||||
use util::str::slice_chars;
|
||||
use wrapper::{PseudoElementType, ThreadSafeLayoutNode};
|
||||
use wrapper::{PseudoElementType, ThreadSafeLayoutNode, TThreadSafeLayoutElement, TThreadSafeLayoutNode};
|
||||
|
||||
/// Fragments (`struct Fragment`) are the leaves of the layout tree. They cannot position
|
||||
/// themselves. In general, fragments do not have a simple correspondence with CSS fragments in the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue