diff options
author | bors-servo <release+servo@mozilla.com> | 2014-04-16 17:19:12 -0400 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-04-16 17:19:12 -0400 |
commit | 0616297c4633efb9b1be443054a508ec56861358 (patch) | |
tree | f51ef037c50921660d998c9edf2b4082db51b37a /src/components/main/layout/construct.rs | |
parent | beb8513796e1db85d2dc05e0ab7abe43c213f211 (diff) | |
parent | 583892bf6989250b2b50066eee28bf7c7c131d94 (diff) | |
download | servo-0616297c4633efb9b1be443054a508ec56861358.tar.gz servo-0616297c4633efb9b1be443054a508ec56861358.zip |
auto merge of #2097 : SimonSapin/servo/pseudo-cleanup, r=pcwalton
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r-- | src/components/main/layout/construct.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs index bf5ed0673d0..b0451c363a7 100644 --- a/src/components/main/layout/construct.rs +++ b/src/components/main/layout/construct.rs @@ -487,7 +487,7 @@ impl<'a> FlowConstructor<'a> { // List of absolute descendants, in tree order. let mut abs_descendants = Descendants::new(); for kid in node.children() { - if kid.get_element_type() != Normal { + if kid.get_pseudo_element_type() != Normal { self.process(&kid); } @@ -558,7 +558,7 @@ impl<'a> FlowConstructor<'a> { // Concatenate all the boxes of our kids, creating {ib} splits as necessary. for kid in node.children() { - if kid.get_element_type() != Normal { + if kid.get_pseudo_element_type() != Normal { self.process(&kid); } match kid.swap_out_construction_result() { @@ -1127,7 +1127,7 @@ impl<'ln> NodeUtils for ThreadSafeLayoutNode<'ln> { let mut layout_data_ref = self.mutate_layout_data(); match &mut *layout_data_ref { &Some(ref mut layout_data) =>{ - match self.get_element_type() { + match self.get_pseudo_element_type() { Before | BeforeBlock => { layout_data.data.before_flow_construction_result = result }, @@ -1146,7 +1146,7 @@ impl<'ln> NodeUtils for ThreadSafeLayoutNode<'ln> { let mut layout_data_ref = self.mutate_layout_data(); match &mut *layout_data_ref { &Some(ref mut layout_data) => { - match self.get_element_type() { + match self.get_pseudo_element_type() { Before | BeforeBlock => { mem::replace(&mut layout_data.data.before_flow_construction_result, NoConstructionResult) |