mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Revert "layout: Implement ordered lists, CSS counters, and quotes
per CSS 2.1"
This reverts commit 30fd28d107
.
This commit is contained in:
parent
7a218b3f08
commit
4c1d778ced
36 changed files with 496 additions and 1735 deletions
|
@ -13,7 +13,7 @@ use context::LayoutContext;
|
|||
use flow::{Flow, MutableFlowUtils};
|
||||
use flow::{PreorderFlowTraversal, PostorderFlowTraversal};
|
||||
use flow;
|
||||
use incremental::{self, BUBBLE_ISIZES, REFLOW, REFLOW_OUT_OF_FLOW, RestyleDamage};
|
||||
use incremental::{RestyleDamage, BUBBLE_ISIZES, REFLOW, REFLOW_OUT_OF_FLOW};
|
||||
use wrapper::{layout_node_to_unsafe_layout_node, LayoutNode};
|
||||
use wrapper::{PostorderNodeMutTraversal, ThreadSafeLayoutNode, UnsafeLayoutNode};
|
||||
use wrapper::{PreorderDomTraversal, PostorderDomTraversal};
|
||||
|
@ -171,7 +171,7 @@ impl<'a> PreorderDomTraversal for RecalcStyleForNode<'a> {
|
|||
&mut applicable_declarations,
|
||||
&mut shareable);
|
||||
} else {
|
||||
ThreadSafeLayoutNode::new(&node).set_restyle_damage(incremental::all())
|
||||
ThreadSafeLayoutNode::new(&node).set_restyle_damage(RestyleDamage::all())
|
||||
}
|
||||
|
||||
// Perform the CSS cascade.
|
||||
|
@ -376,4 +376,3 @@ impl<'a> PostorderFlowTraversal for BuildDisplayList<'a> {
|
|||
flow.build_display_list(self.layout_context);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue