Index: third_party/WebKit/LayoutTests/fast/css/invalidation/reattach-with-sibling-invalidation.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/reattach-with-sibling-invalidation.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/reattach-with-sibling-invalidation.html |
index a8b5a53858eac0d234e8fa98e00edb8adb58c0bf..c9da39248ea29f13c12e1259c30eb39a134e096f 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/reattach-with-sibling-invalidation.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/reattach-with-sibling-invalidation.html |
@@ -27,10 +27,9 @@ |
// Trigger lazyReattachIfAttached() -> detach(). |
document.querySelector("input").type = "button"; |
- // The expected count will be 2 when ContainerNode::checkForChildrenAdjacentRuleChanges() |
- // is removed. One for attaching the input, and one for the span.b recalc. |
+ // One for attaching the input, and one for the span.b recalc. |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "6"); |
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); |
shouldBeEqualToString("getComputedStyle(document.querySelector('.b')).color", "rgb(0, 128, 0)"); |
</script> |