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

Side by Side Diff: LayoutTests/fast/layers/scrollByLines-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
(Empty)
1 <!DOCTYPE>
2 <html>
3 <head>
4 <style>
5 #overflow {
6 height: 100px;
7 width: 100px;
8 overflow: hidden;
9 }
10 </style>
11 <script>
12 if (window.testRunner)
13 testRunner.dumpAsText();
14
15 function testScrollByLine()
16 {
17 var overflowDiv = document.getElementById("overflow");
18 overflowDiv.scrollByLines(10);
19 overflowDiv.scrollByPages(10);
20 overflowDiv.innerHTML = "PASSED: The test did not crash!";
21 }
22 window.addEventListener("load", testScrollByLine, false);
23 </script>
24 </head>
25 <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>
27 <div>This test passes if you see PASSED below.</div>
28 <div id="overflow">FAILED</div>
29 <body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698