mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -14,6 +14,7 @@ use flow::{self, AFFECTS_COUNTERS, Flow, HAS_COUNTER_AFFECTING_CHILDREN, Immutab
|
|||
use fragment::{Fragment, GeneratedContentInfo, SpecificFragmentInfo, UnscannedTextFragmentInfo};
|
||||
use gfx::display_list::OpaqueNode;
|
||||
use script_layout_interface::restyle_damage::{RESOLVE_GENERATED_CONTENT, RestyleDamage};
|
||||
use script_layout_interface::wrapper_traits::PseudoElementType;
|
||||
use smallvec::SmallVec;
|
||||
use std::collections::{HashMap, LinkedList};
|
||||
use std::sync::Arc;
|
||||
|
@ -22,7 +23,6 @@ use style::computed_values::{display, list_style_type};
|
|||
use style::dom::TRestyleDamage;
|
||||
use style::properties::{ComputedValues, ServoComputedValues};
|
||||
use text::TextRunScanner;
|
||||
use wrapper::PseudoElementType;
|
||||
|
||||
// Decimal styles per CSS-COUNTER-STYLES § 6.1:
|
||||
static DECIMAL: [char; 10] = [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue