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

Unified Diff: LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html

Issue 1317533002: Sibling invalidation sets (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review feedback Created 5 years, 3 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: LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html
diff --git a/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html b/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html
index e334dd4255fb9a9039bc4455f9748f037b459ec6..34fac14dea8f15c6500b21c47029eca72db946fe 100644
--- a/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html
+++ b/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html
@@ -48,7 +48,7 @@ document.body.offsetTop; // Force style recalc.
document.getElementById("t1").className = "a1";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "3");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(children[0][0], null).backgroundColor", "green");
shouldBe("getComputedStyle(children[0][1], null).backgroundColor", "green");
shouldBe("getComputedStyle(children[0][2], null).backgroundColor", "transparent");
@@ -58,7 +58,7 @@ document.body.offsetLeft; // force style recalc.
document.getElementById("t2").className = "a2";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "3");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(children[1][0], null).backgroundColor", "transparent");
shouldBe("getComputedStyle(children[1][1], null).backgroundColor", "transparent");
shouldBe("getComputedStyle(children[1][2], null).backgroundColor", "green");

Powered by Google App Engine
This is Rietveld 408576698