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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-style-invalidation.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/invalidation/targeted-class-style-invalidation.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-style-invalidation.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-style-invalidation.html
index bc62f7054bb66e227bf1cdcbff181667e7ac8410..14b9f2ac6c35d0e160560aa9f2091123f79627fd 100644
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-style-invalidation.html
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-style-invalidation.html
@@ -44,23 +44,23 @@ var outer3 = document.getElementById('outer3');
// Style recalc should happen on "inner" and "outer", but not "inner2" or "mid".
outer.offsetTop;
outer.className = 'outer';
-shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(inner).width", '"200px"');
// Style recalc should happen on "inner", but not "innerChild".
inner.offsetTop;
inner.className = '';
-shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(inner).width", '"100px"');
// Style recalc should happen on "outer2", but not "inner3".
outer2.offsetTop;
outer2.className = 'outer2';
-shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(outer2).width", '"150px"');
// Style recalc should happen on "outer3", but none of its children.
outer3.offsetTop;
outer3.className = 'outer3';
-shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
</script>

Powered by Google App Engine
This is Rietveld 408576698