mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Move LayoutNode and related traits to script_layout_interface.
This commit is contained in:
parent
000e2de57a
commit
0d0b268138
15 changed files with 408 additions and 359 deletions
|
@ -31,6 +31,7 @@ use range::*;
|
|||
use rustc_serialize::{Encodable, Encoder};
|
||||
use script_layout_interface::HTMLCanvasData;
|
||||
use script_layout_interface::restyle_damage::{RECONSTRUCT_FLOW, RestyleDamage};
|
||||
use script_layout_interface::wrapper_traits::{PseudoElementType, ThreadSafeLayoutElement, ThreadSafeLayoutNode};
|
||||
use std::borrow::ToOwned;
|
||||
use std::cmp::{max, min};
|
||||
use std::collections::LinkedList;
|
||||
|
@ -49,7 +50,6 @@ use text;
|
|||
use text::TextRunScanner;
|
||||
use url::Url;
|
||||
use util;
|
||||
use wrapper::{PseudoElementType, ThreadSafeLayoutElement, ThreadSafeLayoutNode};
|
||||
|
||||
/// 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