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

Unified Diff: LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.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-any-pseudo.html
diff --git a/LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.html b/LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.html
index 35c23fbf6775023f9908d1cea823671198e6e839..84435c812dc0a168692d38e817110d09fda5b98a 100644
--- a/LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.html
+++ b/LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.html
@@ -72,14 +72,14 @@ document.body.offsetLeft; // force style recalc.
document.getElementById("t2").className = "a2";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(b2, null).backgroundColor", "green");
document.body.offsetLeft; // force style recalc.
document.getElementById("t3").className = "a3";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "3");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(b3, null).backgroundColor", "green");
shouldBe("getComputedStyle(c3, null).backgroundColor", "green");
@@ -97,6 +97,6 @@ document.body.offsetLeft; // force style recalc.
document.getElementById("t5").className = "a5";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "3");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(d5, null).backgroundColor", "green");
</script>

Powered by Google App Engine
This is Rietveld 408576698