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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html

Issue 1365853003: LayoutBox::scrollRectToVisible doesn't respect overflow:hidden property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typos Created 5 years, 3 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..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>

Powered by Google App Engine
This is Rietveld 408576698