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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.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/getComputedStyle/computed-style-recalc.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.html
index d5e9a0893f1d50d7321d3b7b854cffa0f94675da..f8f1094f3a032a94f065298d806d6c7e6fe4814e 100644
--- a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.html
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.html
@@ -39,7 +39,7 @@ document.body.offsetTop;
document.body.querySelector("#t1 > div").className = "a";
shouldBe("getComputedStyle(document.body.querySelector('#t1 .b')).color", "green", true);
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "0");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "0");
// No style invalidation or recalc scheduled for an ascendant of .e, and no affected-by-adjacent
// bits set on any ascendants, hence we don't need to do a recalc even if a style invalidation
@@ -49,7 +49,7 @@ document.body.offsetTop;
document.body.querySelector("#t2 > div > div").className = "c";
shouldBe("getComputedStyle(document.body.querySelector('#t2 .e')).color", "green", true);
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
// No style invalidation or recalc scheduled for an ascendant of .b, and even if affected-by-adjacent
// bits are set on the ascendant (because of a+b), it doesn't matter since that ascendant does
@@ -59,6 +59,6 @@ document.body.offsetTop;
document.body.querySelector("#t3 > div > div").className = "c";
shouldBe("getComputedStyle(document.body.querySelector('#t3 .b')).color", "green", true);
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
</script>

Powered by Google App Engine
This is Rietveld 408576698