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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/valid-invalid-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/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>

Powered by Google App Engine
This is Rietveld 408576698