diff options
-rw-r--r-- | components/layout/construct.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 86488e91fdf..79d72c8471c 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -1481,6 +1481,9 @@ impl<'a, ConcreteThreadSafeLayoutNode> PostorderNodeMutTraversal<ConcreteThreadS } Some(LayoutNodeType::Element(_)) => { let original_display = style.get_box().original_display; + // FIXME(emilio, #19771): This munged_display business is pretty + // wrong. After we fix this we should be able to unify the + // pseudo-element path too. let munged_display = match original_display { Display::Inline | Display::InlineBlock => original_display, _ => style.get_box().display, |