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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/forced-layout-only-in-document.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/dom/forced-layout-only-in-document.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/forced-layout-only-in-document.html b/third_party/WebKit/LayoutTests/fast/dom/forced-layout-only-in-document.html
index aa3a1e04c1358d6de6f58e595e5091661fb38a05..8092145ab1bb10326d1d8a28c2a94b819065fdda 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/forced-layout-only-in-document.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/forced-layout-only-in-document.html
@@ -49,7 +49,7 @@ for (var i = 0; i < testStatements.length; ++i) {
mutator.style.flexGrow = i;
eval(statement);
// The mutator element should still be dirty.
- if (internals.updateStyleAndReturnAffectedElementCount() != 1) {
+ if (internals.updateStyleAndLayoutAndReturnAffectedElementCount() != 1) {
causedRecalc = true;
testFailed(statement + " caused a style or layout update.");
}

Powered by Google App Engine
This is Rietveld 408576698