Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index 8a7ec24084f12d225604a4b47866be539df3f0d4..ef20bb6ea9237c822c4032474b4d2f068026a3a3 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -1345,9 +1345,6 @@ void ContainerNode::checkForSiblingStyleChanges(SiblingCheckType changeType, Nod |
if (!inActiveDocument() || document().hasPendingForcedStyleRecalc() || styleChangeType() >= SubtreeStyleChange) |
return; |
- if (needsStyleRecalc() && childrenAffectedByPositionalRules()) |
- return; |
- |
// Forward positional selectors include nth-child, nth-of-type, first-of-type and only-of-type. |
// The indirect adjacent selector is the ~ selector. |
// Backward positional selectors include nth-last-child, nth-last-of-type, last-of-type and only-of-type. |