aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/construct.rs
diff options
context:
space:
mode:
authorhyunjunekim <hykim0777@gmail.com>2014-04-09 09:00:32 +0900
committerhyunjunekim <hykim0777@gmail.com>2014-04-09 09:00:32 +0900
commit5c15f243082c608b1ce92c2ba9b3e6cfc0462cbd (patch)
tree11e0f562c436005aac96b93ca9b0429843d81197 /src/components/main/layout/construct.rs
parent51ff762bc5bf36a9f12448d222281ce39cf9a357 (diff)
downloadservo-5c15f243082c608b1ce92c2ba9b3e6cfc0462cbd.tar.gz
servo-5c15f243082c608b1ce92c2ba9b3e6cfc0462cbd.zip
inline 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 398f915197b..84780f64873 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) => {