From 0291a75b3c405fc272041878b03e988921c9737c Mon Sep 17 00:00:00 2001 From: CYBAI Date: Sat, 6 Jan 2018 22:13:07 +0800 Subject: style: Remove -servo-display-for-hypothetical-box from longhand --- components/layout/construct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/layout/construct.rs') 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 { 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, -- cgit v1.2.3