diff --git a/components/style/traversal.rs b/components/style/traversal.rs index 988deb1a759..25e52c03cee 100644 --- a/components/style/traversal.rs +++ b/components/style/traversal.rs @@ -243,10 +243,6 @@ pub trait DomTraversal : Sync { return true; } - if traversal_flags.contains(traversal_flags::ForReconstruct) { - return true; - } - // If the element is native-anonymous and an ancestor frame will be // reconstructed, the child and all its descendants will be destroyed. // In that case, we wouldn't need to traverse the subtree...