aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-09-17 00:17:58 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-09-17 04:31:15 +0200
commit2c88248b871590ed507b88d0bfcd08bd557c86c7 (patch)
tree9665a9e7124afd9df38c0f10b450a4079fb087dd /components/layout/construct.rs
parent7d91b30172879ef62c0b63b6d9eb4fcd862da3bc (diff)
downloadservo-2c88248b871590ed507b88d0bfcd08bd557c86c7.tar.gz
servo-2c88248b871590ed507b88d0bfcd08bd557c86c7.zip
style: Kill -servo-under-display-none.
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index 852f16e893e..fa684029288 100644
--- a/components/layout/construct.rs
+++ b/components/layout/construct.rs
@@ -1451,7 +1451,7 @@ impl<'a, ConcreteThreadSafeLayoutNode> PostorderNodeMutTraversal<ConcreteThreadS
node.insert_flags(HAS_NEWLY_CONSTRUCTED_FLOW);
// Bail out if this node has an ancestor with display: none.
- if node.style(self.style_context()).get_inheritedbox()._servo_under_display_none.0 {
+ if node.style(self.style_context()).is_in_display_none_subtree() {
self.set_flow_construction_result(node, ConstructionResult::None);
return;
}