diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-01-15 03:12:08 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-01-15 03:12:22 +0100 |
commit | 95edda93c44cc1f7850b8fbadede156f21dbc2d4 (patch) | |
tree | da7a03f1c07c84e9e0a3253b0e95174607f0b9cb /components/layout/construct.rs | |
parent | ecf538ff04df883a1eb0dcada0b3ca232951e758 (diff) | |
download | servo-95edda93c44cc1f7850b8fbadede156f21dbc2d4.tar.gz servo-95edda93c44cc1f7850b8fbadede156f21dbc2d4.zip |
layout: Add a FIXME for #19771.
Diffstat (limited to 'components/layout/construct.rs')
-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, |