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

Unified Diff: LayoutTests/fast/css/invalidation/invalidation-set-with-adjacent-combinators.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/invalidation-set-with-adjacent-combinators.html
diff --git a/LayoutTests/fast/css/invalidation/invalidation-set-with-adjacent-combinators.html b/LayoutTests/fast/css/invalidation/invalidation-set-with-adjacent-combinators.html
index da9573db647036ad3ee63a40858e0d01a09d1c14..137077df01a52de77789956879e9355c2d1868fe 100644
--- a/LayoutTests/fast/css/invalidation/invalidation-set-with-adjacent-combinators.html
+++ b/LayoutTests/fast/css/invalidation/invalidation-set-with-adjacent-combinators.html
@@ -56,7 +56,7 @@ if (window.internals)
document.body.offsetTop; // Force style recalc.
i3.className = "c3";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
document.body.offsetTop; // Force style recalc.
i4.className = "c4";
@@ -68,7 +68,7 @@ shouldBe("getComputedStyle(i1, null).backgroundColor", "transparent");
document.body.offsetLeft; // force style recalc.
i5.className = "c5";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(i1, null).backgroundColor", "green");

Powered by Google App Engine
This is Rietveld 408576698