diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-09-17 00:17:58 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-09-17 04:31:15 +0200 |
commit | 2c88248b871590ed507b88d0bfcd08bd557c86c7 (patch) | |
tree | 9665a9e7124afd9df38c0f10b450a4079fb087dd /components/layout/construct.rs | |
parent | 7d91b30172879ef62c0b63b6d9eb4fcd862da3bc (diff) | |
download | servo-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.rs | 2 |
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; } |