diff options
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 4 |
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) } |