mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
style: Remove -servo-display-for-hypothetical-box from longhand
This commit is contained in:
parent
e81193c5c9
commit
0291a75b3c
5 changed files with 64 additions and 56 deletions
|
@ -1485,7 +1485,7 @@ impl<'a, ConcreteThreadSafeLayoutNode> PostorderNodeMutTraversal<ConcreteThreadS
|
|||
}
|
||||
Some(LayoutNodeType::Element(_)) => {
|
||||
let style = node.style(self.style_context());
|
||||
let original_display = style.get_box()._servo_display_for_hypothetical_box;
|
||||
let original_display = style.get_box().original_display;
|
||||
let munged_display = match original_display {
|
||||
Display::Inline | Display::InlineBlock => original_display,
|
||||
_ => style.get_box().display,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue