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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.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/no-recalc-on-no-op-inline-style-changes.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.html b/third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.html
index 20b77cf27f344297a719e11b536de9e3f2c24e51..0baa2f04896fd5f778ea36a9eca3ec39657848e4 100644
--- a/third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.html
+++ b/third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.html
@@ -8,14 +8,14 @@ test(function () {
if (!window.internals)
assert_unreached('This test requires window.internals.');
- assert_greater_than(internals.updateStyleAndReturnAffectedElementCount(), 1);
+ assert_greater_than(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1);
element.style.top = "0px";
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1);
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1);
for (var i = 0; i < 100; i ++) {
element.style.top = "0px";
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 0);
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 0);
}
}, "Check that a no-op inline style change doesn't result in a recalc");
</script>

Powered by Google App Engine
This is Rietveld 408576698