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

Unified Diff: LayoutTests/fast/css/invalidation/selection-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/selection-pseudo.html
diff --git a/LayoutTests/fast/css/invalidation/selection-pseudo.html b/LayoutTests/fast/css/invalidation/selection-pseudo.html
index 1fcb40ce5839d6087af8930788573260901b53cb..50c122b9584a1cd53cf7b97d8efd1263350ed047 100644
--- a/LayoutTests/fast/css/invalidation/selection-pseudo.html
+++ b/LayoutTests/fast/css/invalidation/selection-pseudo.html
@@ -51,7 +51,7 @@ shouldBe("getComputedStyle(select[0], '::selection').backgroundColor", "red");
document.body.offsetTop; // Force recalc.
t1.className = "t1";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(select[0], '::selection').backgroundColor", "green");
shouldBeDefined(window.testRunner);
@@ -63,6 +63,6 @@ shouldBe("getComputedStyle(select[1], '::selection').backgroundColor", "red");
document.body.offsetTop; // Force recalc.
t2.className = "t2";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(select[1], '::selection').backgroundColor", "green");
</script>

Powered by Google App Engine
This is Rietveld 408576698