aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/construct.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-04-11 16:04:17 -0400
committerbors-servo <release+servo@mozilla.com>2014-04-11 16:04:17 -0400
commit257e1c0130d6716178e2c61f1084b90fd2c94d7b (patch)
treec7f121e30c5d20e5a3e99cccd9a3faa460e24fd8 /src/components/main/layout/construct.rs
parent2fcba6ff81aa270dd3f0b4784d33b8d6a23e37f5 (diff)
parenta6066e8c03e6832a98af755b941926ce49a85385 (diff)
downloadservo-257e1c0130d6716178e2c61f1084b90fd2c94d7b.tar.gz
servo-257e1c0130d6716178e2c61f1084b90fd2c94d7b.zip
auto merge of #2071 : hyunjunekim/servo/try, r=larsbergstrom
If <span> element has pseudo style, draw pseudo element.
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r--src/components/main/layout/construct.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs
index 82026d28bce..bf5ed0673d0 100644
--- a/src/components/main/layout/construct.rs
+++ b/src/components/main/layout/construct.rs
@@ -558,6 +558,9 @@ 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 {
+ self.process(&kid);
+ }
match kid.swap_out_construction_result() {
NoConstructionResult => {}
FlowConstructionResult(flow, kid_abs_descendants) => {