From 95edda93c44cc1f7850b8fbadede156f21dbc2d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 15 Jan 2018 03:12:08 +0100 Subject: layout: Add a FIXME for #19771. --- components/layout/construct.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/layout/construct.rs') 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 { 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, -- cgit v1.2.3