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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-attribute-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-attribute-style-invalidation.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-attribute-style-invalidation.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-attribute-style-invalidation.html
index cbf93f25445e35a58d889a3d84305dd9889f1c51..d4713672d721d87e4f58e0377cbc07e6a3ba0d94 100644
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-attribute-style-invalidation.html
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-attribute-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.setAttribute('outer', '1');
-shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(inner).width", '"200px"');
// Style recalc should happen on "inner", but not "innerChild".
inner.offsetTop;
inner.removeAttribute('inner');
-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.setAttribute('outer', '2');
-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.setAttribute('outer', '3');
-shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
</script>

Powered by Google App Engine
This is Rietveld 408576698