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

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

Issue 1075393002: Implement Document.scrollingElement API behind experimental feature flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Minor fix and comment tweak Created 5 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <style> 3 <style>
4 html, body {
5 margin: 0;
6 padding: 5px;
7 }
4 div { 8 div {
5 height: 9999px; 9 height: 10000px;
6 width: 9999px; 10 width: 10000px;
7 } 11 }
8 </style> 12 </style>
9 <script> 13 <script>
10 function scroll() { 14 function scroll() {
11 document.documentElement.scrollTop = 5000; 15 document.documentElement.scrollTop = 5000;
12 document.documentElement.scrollLeft = 4000; 16 document.documentElement.scrollLeft = 4000;
13 17
14 parent.verifyTest() 18 parent.verifyTest()
15 } 19 }
16 </script> 20 </script>
17 </head> 21 </head>
18 <body onload="scroll()"> 22 <body onload="scroll()">
19 <div></div> 23 <div></div>
20 </body> 24 </body>
21 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698