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

Side by Side Diff: LayoutTests/scrollbars/drag-rtl-resizer.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 <html> 2 <html>
3 <head> 3 <head>
4 <title>Bug 9223</title> 4 <title>Bug 9223</title>
5 <script src="../../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../fast/js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body dir="rtl" style="margin:0px"> 7 <body dir="rtl" style="margin:0px">
8 <div id="overflow" dir="rtl" style="border:2px solid black; overflow:auto; width : 400px; height: 400px; resize:both;"> 8 <div id="overflow" dir="rtl" style="border:2px solid black; overflow:auto; width : 400px; height: 400px; resize:both;">
9 <div style="background-color:red;height:720px"></div> 9 <div style="background-color:red;height:720px"></div>
10 <div style="background-color:green;height:1600px"></div> 10 <div style="background-color:green;height:1600px"></div>
11 </div> 11 </div>
12 <script> 12 <script>
13 description('Test that an RTL element renders a resizer to its bottom-left corne r and ' + 13 description('Test that an RTL element renders a resizer to its bottom-left corne r and ' +
14 'dragging this resizer to the left changes its width. ' + 14 'dragging this resizer to the left changes its width. ' +
15 'To test manually, dragging the resizer of the below element to left , and ' + 15 'To test manually, dragging the resizer of the below element to left , and ' +
(...skipping 15 matching lines...) Expand all
31 var node = document.getElementById('overflow'); 31 var node = document.getElementById('overflow');
32 var offsetLeft = node.offsetLeft + 5; 32 var offsetLeft = node.offsetLeft + 5;
33 var offsetTop = node.offsetTop + node.offsetHeight - 5; 33 var offsetTop = node.offsetTop + node.offsetHeight - 5;
34 eventSender.mouseMoveTo(offsetLeft, offsetTop); 34 eventSender.mouseMoveTo(offsetLeft, offsetTop);
35 eventSender.mouseDown(); 35 eventSender.mouseDown();
36 eventSender.mouseMoveTo(offsetLeft - 30, offsetTop); 36 eventSender.mouseMoveTo(offsetLeft - 30, offsetTop);
37 eventSender.mouseUp(); 37 eventSender.mouseUp();
38 setTimeout(finished, 0); 38 setTimeout(finished, 0);
39 } 39 }
40 </script> 40 </script>
41 <script src="../../../fast/js/resources/js-test-post.js"></script> 41 <script src="../fast/js/resources/js-test-post.js"></script>
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW
« no previous file with comments | « LayoutTests/rubberbanding/overhang-w-expected.txt ('k') | LayoutTests/scrollbars/drag-rtl-resizer-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698