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..84207995877729ec17e73f7cf597352021f6bf5d 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.updateStyleAndReturnAffectedElementCount()", "3"); |
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.updateStyleAndReturnAffectedElementCount()", "3"); |
shouldBe("getComputedStyle(inputRequired, '').backgroundColor", "green"); |
</script> |