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

Unified Diff: LayoutTests/fast/css/invalidation/targeted-class-whole-subtree.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/invalidation/targeted-class-whole-subtree.html
diff --git a/LayoutTests/fast/css/invalidation/targeted-class-whole-subtree.html b/LayoutTests/fast/css/invalidation/targeted-class-whole-subtree.html
index 3447dbb40f4289d126a697cc8d6111012b600532..cd730a3b1e2f695f1dd6b709d3a85bcd9f745189 100644
--- a/LayoutTests/fast/css/invalidation/targeted-class-whole-subtree.html
+++ b/LayoutTests/fast/css/invalidation/targeted-class-whole-subtree.html
@@ -32,7 +32,7 @@ outer.className = "b";
inner.className = "a";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "5");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "4");
for (var i=0; i < innerDivs.length; i++)
shouldBe("getComputedStyle(innerDivs[i], null).backgroundColor", "green");

Powered by Google App Engine
This is Rietveld 408576698