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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/hover-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/hover-recalc.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/hover-recalc.html b/third_party/WebKit/LayoutTests/fast/css/hover-recalc.html
index 67355b70000de706c7435fd4748825d634b2a8bd..f1059b788ad2405148abdedb62d447f687dd539d 100644
--- a/third_party/WebKit/LayoutTests/fast/css/hover-recalc.html
+++ b/third_party/WebKit/LayoutTests/fast/css/hover-recalc.html
@@ -28,7 +28,7 @@ var x1 = t1.offsetLeft + 1;
var y1 = t1.offsetTop + 1;
eventSender.mouseMoveTo(x1, y1);
-shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(t1, null).backgroundColor", "green");
var x2 = t2.offsetLeft + 1;
@@ -37,7 +37,7 @@ var y2 = t2.offsetTop + 1;
eventSender.mouseMoveTo(0, 0);
eventSender.mouseMoveTo(x2, y2);
t2.firstChild.className = "over";
-shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(t2, null).backgroundColor", "green");
shouldBe("getComputedStyle(t2.firstChild, null).width", "'150px'");
@@ -45,7 +45,7 @@ var x3 = t3.offsetLeft + 1;
var y3 = t3.offsetTop + 1;
eventSender.mouseMoveTo(0, 0);
eventSender.mouseMoveTo(x3, y3);
-shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(t3, null).backgroundColor", "green");
shouldBe("getComputedStyle(t3.firstChild, null).width", "'150px'");
</script>

Powered by Google App Engine
This is Rietveld 408576698