| 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 b39c788043c72edfecdcecf782b93921c24897c1..02d15717f991d07f7a378a39980797f3320b5112 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
|
| @@ -53,28 +53,28 @@ shouldBe("getComputedStyle(inputValid, '').backgroundColor", "transparent");
|
| document.body.offsetTop; // Force recalc.
|
| inputValid.removeAttribute("required");
|
| if (window.internals)
|
| - shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| + shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "3");
|
| 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.updateStyleAndReturnAffectedElementCount()", "3");
|
| 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.updateStyleAndReturnAffectedElementCount()", "4");
|
| 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.updateStyleAndReturnAffectedElementCount()", "4");
|
| shouldBe("getComputedStyle(formInvalid, '').backgroundColor", "green");
|
|
|
| </script>
|
|
|