diff options
author | CYBAI <cyb.ai.815@gmail.com> | 2018-01-06 22:13:07 +0800 |
---|---|---|
committer | CYBAI <cyb.ai.815@gmail.com> | 2018-01-13 20:54:50 +0800 |
commit | 0291a75b3c405fc272041878b03e988921c9737c (patch) | |
tree | e2f2d824791ce10f29a0a49ac861bd8041667021 /components/layout/construct.rs | |
parent | e81193c5c953894eae0290614788997f0b89a386 (diff) | |
download | servo-0291a75b3c405fc272041878b03e988921c9737c.tar.gz servo-0291a75b3c405fc272041878b03e988921c9737c.zip |
style: Remove -servo-display-for-hypothetical-box from longhand
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 8efeeb97e83..f369d41daaf 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -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, |