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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.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/required-optional-pseudo.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html
index 67f056d0cdfdb05105aac431519e00a6fae4a891..1eee174ec2d0a12b23822b01627428f68dab659e 100644
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html
@@ -31,14 +31,14 @@ shouldBe("getComputedStyle(inputOptional, '').backgroundColor", "transparent");
document.body.offsetTop; // Force recalc.
inputOptional.removeAttribute("required");
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(inputOptional, '').backgroundColor", "green");
shouldBe("getComputedStyle(inputRequired, '').backgroundColor", "transparent");
document.body.offsetTop; // Force recalc.
inputRequired.setAttribute("required", "");
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(inputRequired, '').backgroundColor", "green");
</script>

Powered by Google App Engine
This is Rietveld 408576698