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

Side by Side Diff: LayoutTests/fast/regions/drag-scrollbars-of-content-expected.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>drag the scrollbars of content flowed in regions</title>
5 <style>
6 .content {
7 width: 100px;
8 height: 100px;
9 overflow-y: scroll;
10 overflow-x: none;
11 font-size: 20px;
12 line-height: 1em;
13 padding: 0.5em;
14 border: solid 1px #888;
15 }
16 #region {
17 width: 200px;
18 height: 200px;
19 margin: 20px;
20 background-color: rgb(241, 241, 241);
21 }
22 </style>
23 <script>
24 function myOnLoad() {
25 if(!window.testRunner)
26 return;
27 var scrollable = document.querySelector('.conten t');
28 var scrollBox = scrollable.getBoundingClientRect ();
29 var X = scrollBox.right - 3;
30 var Y = scrollBox.bottom - 3;
31
32 eventSender.mouseMoveTo(X, Y);
33 eventSender.mouseDown();
34 eventSender.mouseUp();
35 }
36 </script>
37 </head>
38 <body onload="myOnLoad();">
39 <div id="region">
40 <div class="content">1xxxxx<br>2xxxxx<br>3xxxxx<br>4xxxx x<br>5xxxxx<br>6xxxxx<br>7xxxxx<br>8xxxxx</div>
41 </div>
42 <div>You should be able to drag the scrollbars</div>
43 </body>
44 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/regions/drag-scrollbars-of-content.html ('k') | LayoutTests/fast/regions/firstletter-inside-flowthread.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698