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

Unified Diff: LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html

Issue 242883002: Remove MediaValues' dependency on RenderStyle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified minimal recalc tests to represent reduced recalc. Created 6 years, 8 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/add-remove-stylesheets-at-once-minimal-recalc-style.html
diff --git a/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html b/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html
index ccb1a6ff6efca178196edd92e2c72cdf534bb7ff..8a90331e625136e08663e86cad1de8ea0d0af613 100644
--- a/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html
+++ b/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html
@@ -38,9 +38,9 @@ sheetContainer.innerHTML = '<style>.baz { color: blue; }</style>'
// 9 elements + documentElement + body get recalced.
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "11");
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "10");
shouldBe("getComputedStyle(document.querySelector('.foo')).color", '"rgb(0, 0, 0)"');
shouldBe("getComputedStyle(document.querySelector('.baz')).color", '"rgb(0, 0, 255)"');
shouldBe("getComputedStyle(document.querySelector('.bar')).color", '"rgb(0, 0, 0)"');
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698