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

Unified Diff: LayoutTests/fast/dom/Element/resources/overflow-scroll-scrollable-body-quirks.html

Issue 51553002: Fix body.scrollTop/Left for scrollable <body> tags (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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: LayoutTests/fast/dom/Element/resources/overflow-scroll-scrollable-body-quirks.html
diff --git a/LayoutTests/fast/dom/Element/resources/overflow-scroll-scrollable-body-quirks.html b/LayoutTests/fast/dom/Element/resources/overflow-scroll-scrollable-body-quirks.html
new file mode 100644
index 0000000000000000000000000000000000000000..bcf8e3a28b849d18c64bb5d6f3fd5a01c6b70329
--- /dev/null
+++ b/LayoutTests/fast/dom/Element/resources/overflow-scroll-scrollable-body-quirks.html
@@ -0,0 +1,15 @@
+<html style=overflow:scroll>
+<head>
+ <script>
+ function scroll() {
+ document.body.scrollLeft = 200;
+ document.body.scrollTop = 200;
+ document.documentElement.scrollLeft = 100;
+ parent.verifyTest()
+ }
+ </script>
+</head>
+
+<body style=overflow:scroll;width:100px;height:100px onload="scroll()">
+<div style=position:absolute;width:5000px;border:dotted></div>
+a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>a<br>a

Powered by Google App Engine
This is Rietveld 408576698