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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.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-type-selectors.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html
index 34fac14dea8f15c6500b21c47029eca72db946fe..40e0f56d09d0fb0ed83cfe884ad4fee960cea100 100644
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html
@@ -48,7 +48,7 @@ document.body.offsetTop; // Force style recalc.
document.getElementById("t1").className = "a1";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(children[0][0], null).backgroundColor", "green");
shouldBe("getComputedStyle(children[0][1], null).backgroundColor", "green");
shouldBe("getComputedStyle(children[0][2], null).backgroundColor", "transparent");
@@ -58,7 +58,7 @@ document.body.offsetLeft; // force style recalc.
document.getElementById("t2").className = "a2";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(children[1][0], null).backgroundColor", "transparent");
shouldBe("getComputedStyle(children[1][1], null).backgroundColor", "transparent");
shouldBe("getComputedStyle(children[1][2], null).backgroundColor", "green");
@@ -68,7 +68,7 @@ document.body.offsetLeft; // force style recalc.
document.getElementById("t3").className = "a3";
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "5");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "5");
shouldBe("getComputedStyle(children[2][0], null).backgroundColor", "green");
shouldBe("getComputedStyle(children[2][1], null).backgroundColor", "green");
shouldBe("getComputedStyle(children[2][2], null).backgroundColor", "green");

Powered by Google App Engine
This is Rietveld 408576698