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

Side by Side Diff: LayoutTests/fast/layers/scroll-overflow-no-layer.html

Issue 416403013: Remove Element.scrollByLines() and Element.scrollByPages() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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> 1 <!DOCTYPE>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #overflow { 5 #overflow {
6 height: 100px; 6 height: 100px;
7 width: 100px; 7 width: 100px;
8 overflow: hidden; 8 overflow: hidden;
9 } 9 }
10 </style> 10 </style>
11 <script> 11 <script>
12 if (window.testRunner) 12 if (window.testRunner)
13 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
14 14
15 function testScrollByLine() 15 function testScroll()
16 { 16 {
17 var overflowDiv = document.getElementById("overflow"); 17 var overflowDiv = document.getElementById("overflow");
18 overflowDiv.scrollByLines(10); 18 overflowDiv.scrollTop = 100;
19 overflowDiv.scrollByPages(10);
20 overflowDiv.innerHTML = "PASSED: The test did not crash!"; 19 overflowDiv.innerHTML = "PASSED: The test did not crash!";
21 } 20 }
22 window.addEventListener("load", testScrollByLine, false); 21 window.addEventListener("load", testScroll, false);
23 </script> 22 </script>
24 </head> 23 </head>
25 <body> 24 <body>
26 <div><a href="https://bugs.webkit.org/show_bug.cgi?id=83728">bug 83728</a>: Reduce the use of RenderLayer outside of the rendering code</div> 25 <div><a href="https://bugs.webkit.org/show_bug.cgi?id=83728">bug 83728</a>: Reduce the use of RenderLayer outside of the rendering code</div>
27 <div>This test passes if you see PASSED below.</div> 26 <div>This test passes if you see PASSED below.</div>
28 <div id="overflow">FAILED</div> 27 <div id="overflow">FAILED</div>
29 <body> 28 <body>
30 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698