Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/reattach-with-sibling-invalidation.html

Issue 1509853002: Remove checkForChildrenAdjacentRuleChanges. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698