| 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>
|
|
|