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

Unified Diff: LayoutTests/fast/css/invalidation/fullscreen.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/fullscreen.html
diff --git a/LayoutTests/fast/css/invalidation/fullscreen.html b/LayoutTests/fast/css/invalidation/fullscreen.html
index 2571d065054c91f07e44eeacd17f649be44d6035..c8bb4c89eb2d807ccdbce16288406069bbe056c0 100644
--- a/LayoutTests/fast/css/invalidation/fullscreen.html
+++ b/LayoutTests/fast/css/invalidation/fullscreen.html
@@ -34,14 +34,14 @@ function runTests() {
testRoot.offsetTop; // force recalc
testRoot.className = "t1";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(full).backgroundColor", "green");
shouldBe("getComputedStyle(ancestor).backgroundColor", "red");
testRoot.offsetTop; // force recalc
testRoot.className += " t2";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(ancestor).backgroundColor", "green");
finishJSTest();

Powered by Google App Engine
This is Rietveld 408576698