aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index 0f832bacfb8..e30838acbc5 100644
--- a/components/layout/construct.rs
+++ b/components/layout/construct.rs
@@ -833,7 +833,9 @@ impl<'a, 'b> PostorderNodeMutTraversal for FlowConstructor<'a, 'b> {
}
// Inline items contribute inline fragment construction results.
- (display::inline, float::none, _) => {
+ //
+ // FIXME(pcwalton, #3307): This is not sufficient to handle floated generated content.
+ (display::inline, _, _) => {
let construction_result = self.build_fragments_for_inline(node);
node.set_flow_construction_result(construction_result)
}