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

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

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html b/third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html
index 8a90331e625136e08663e86cad1de8ea0d0af613..9de37a2d77806c523a98d2863aab2fde8c80a2d6 100644
--- a/third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html
+++ b/third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html
@@ -31,14 +31,14 @@ var sheetContainer = document.getElementById('sheet-container');
sheetContainer.innerHTML = '<style>.foo { color: green; }</style><style>.bar { color: red; }</style>'
// 6 elements + documentElement + body get recalced.
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "8");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "8");
document.documentElement.offsetTop;
sheetContainer.innerHTML = '<style>.baz { color: blue; }</style>'
// 9 elements + documentElement + body get recalced.
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "10");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "10");
shouldBe("getComputedStyle(document.querySelector('.foo')).color", '"rgb(0, 0, 0)"');
shouldBe("getComputedStyle(document.querySelector('.baz')).color", '"rgb(0, 0, 255)"');

Powered by Google App Engine
This is Rietveld 408576698