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

Unified Diff: LayoutTests/fast/dom/Element/resources/scrollable-iframe-strict.html

Issue 25039006: document.documentElement.scrollTop/Left is zero (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: document.documentElement.scrollTop/Left is zero 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/scrollable-iframe-strict.html
diff --git a/LayoutTests/fast/dom/Element/resources/scrollable-iframe-strict.html b/LayoutTests/fast/dom/Element/resources/scrollable-iframe-strict.html
new file mode 100644
index 0000000000000000000000000000000000000000..c410d3767ea23d125309578cd59195ce483539d6
--- /dev/null
+++ b/LayoutTests/fast/dom/Element/resources/scrollable-iframe-strict.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+ <head>
+ <style>
+ div {
+ height: 9999px;
+ width: 9999px;
+ }
+ </style>
+ <script>
+ function scroll() {
+ window.scrollTo(4000,5000);
+ parent.verifyTest()
+ }
+ </script>
+ </head>
+<body onload="scroll()">
+ <div></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698