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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/valid-invalid-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/valid-invalid-pseudo.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/valid-invalid-pseudo.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/valid-invalid-pseudo.html
index b90b2aba6c3a69b5f4b4fb5b2dea9145004d6098..4f995fd8de78f373148b59752304df091be9542d 100644
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/valid-invalid-pseudo.html
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/valid-invalid-pseudo.html
@@ -65,28 +65,28 @@ shouldBe("getComputedStyle(inputValid, '').backgroundColor", "transparent");
document.body.offsetTop; // Force recalc.
inputValid.removeAttribute("required");
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(inputValid, '').backgroundColor", "green");
shouldBe("getComputedStyle(inputInvalid, '').backgroundColor", "transparent");
document.body.offsetTop; // Force recalc.
inputInvalid.setAttribute("required", "");
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(inputInvalid, '').backgroundColor", "green");
shouldBe("getComputedStyle(formInvalid, '').backgroundColor", "transparent");
document.body.offsetTop; // Force recalc.
inputInFormValid.removeAttribute("required");
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(formValid, '').backgroundColor", "green");
shouldBe("getComputedStyle(formInvalid, '').backgroundColor", "transparent");
document.body.offsetTop; // Force recalc.
inputInFormInvalid.setAttribute("required", "");
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2");
shouldBe("getComputedStyle(formInvalid, '').backgroundColor", "green");
// Make sure the value is user input, otherwise setting maxlength/minlength
@@ -103,13 +103,13 @@ shouldBe("getComputedStyle(maxlengthInvalid, '').backgroundColor", "transparent"
document.body.offsetTop; // Force recalc.
maxlengthInvalid.setAttribute("maxlength", "1");
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(maxlengthInvalid, '').backgroundColor", "green");
shouldBe("getComputedStyle(minlengthInvalid, '').backgroundColor", "transparent");
document.body.offsetTop; // Force recalc.
minlengthInvalid.setAttribute("minlength", "2");
if (window.internals)
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
shouldBe("getComputedStyle(minlengthInvalid, '').backgroundColor", "green");
</script>

Powered by Google App Engine
This is Rietveld 408576698