Introduce a script_layout_interface crate and move RestyleDamage to it.

This commit is contained in:
Ms2ger 2016-06-14 19:29:43 +01:00
parent e5cab36671
commit 5c03dd8eb1
24 changed files with 332 additions and 271 deletions

View file

@ -10,7 +10,7 @@ use display_list_builder::DisplayListBuildState;
use flow::{CAN_BE_FRAGMENTED, Flow, ImmutableFlowUtils, PostorderFlowTraversal};
use flow::{PreorderFlowTraversal, self};
use gfx::display_list::OpaqueNode;
use incremental::{BUBBLE_ISIZES, REFLOW, REFLOW_OUT_OF_FLOW, REPAINT, RestyleDamage};
use script_layout_interface::restyle_damage::{BUBBLE_ISIZES, REFLOW, REFLOW_OUT_OF_FLOW, REPAINT, RestyleDamage};
use std::mem;
use style::context::StyleContext;
use style::matching::MatchMethods;