mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
layout: Add a FIXME for #19771.
This commit is contained in:
parent
ecf538ff04
commit
95edda93c4
1 changed files with 3 additions and 0 deletions
|
@ -1481,6 +1481,9 @@ impl<'a, ConcreteThreadSafeLayoutNode> PostorderNodeMutTraversal<ConcreteThreadS
|
||||||
}
|
}
|
||||||
Some(LayoutNodeType::Element(_)) => {
|
Some(LayoutNodeType::Element(_)) => {
|
||||||
let original_display = style.get_box().original_display;
|
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 {
|
let munged_display = match original_display {
|
||||||
Display::Inline | Display::InlineBlock => original_display,
|
Display::Inline | Display::InlineBlock => original_display,
|
||||||
_ => style.get_box().display,
|
_ => style.get_box().display,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue