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

Unified Diff: LayoutTests/fast/css/dynamic-class-pseudo-elements.html

Issue 1349543004: CSS: Avoid invalidating style when only descendants need updating (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: invalidatesSelf 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/dynamic-class-pseudo-elements.html
diff --git a/LayoutTests/fast/css/dynamic-class-pseudo-elements.html b/LayoutTests/fast/css/dynamic-class-pseudo-elements.html
index 39d8ba9f8ce43f7cabdaeb417735fe9087a4d83b..22fc85c56bcb1bceecc18731859270f3ee437482 100644
--- a/LayoutTests/fast/css/dynamic-class-pseudo-elements.html
+++ b/LayoutTests/fast/css/dynamic-class-pseudo-elements.html
@@ -45,7 +45,7 @@ forceLayout();
t1.className = "a1";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "3");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(r1, '::before').backgroundColor", "green");
@@ -57,7 +57,7 @@ forceLayout();
t2.className = "a2";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "3");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(r2, '::after').backgroundColor", "green");

Powered by Google App Engine
This is Rietveld 408576698