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

Side by Side Diff: LayoutTests/fast/events/panScroll-in-iframe.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 <script src="./resources/panScroll.js"></script> 4 <script src="./resources/panScroll.js"></script>
5 <script> 5 <script>
6 function start() { 6 function start() {
7 7
8 description('Check pan scroll in iframe'); 8 description('Check pan scroll in iframe');
9 var iframe = $('iframe'); 9 var iframe = $('iframe');
10 var offsetLeft = iframe.offsetLeft; 10 var offsetLeft = iframe.offsetLeft;
11 var offsetTop = iframe.offsetTop; 11 var offsetTop = iframe.offsetTop;
12 12
13 testPanScroll({ 13 testPanScroll({
14 'clickOrDrag': 'click', 14 'clickOrDrag': 'click',
15 'endX': offsetLeft + 5, 15 'endX': offsetLeft + 5,
16 'endY': offsetTop + 50, 16 'endY': offsetTop + 50,
17 'scrollable': iframe.contentDocument.body, 17 'scrollable': iframe.contentDocument.body,
18 'scrolledObject': iframe.contentWindow, 18 'scrolledObject': iframe.contentWindow,
19 'startX': offsetLeft + 5, 19 'startX': offsetLeft + 5,
20 'startY': offsetTop + 5, 20 'startY': offsetTop + 5,
21 }); 21 });
22 } 22 }
23 </script> 23 </script>
24 </head> 24 </head>
25 <body onload="start()"> 25 <body onload="start()">
26 <div id="container"> 26 <div id="container">
27 <p id="description"></p> 27 <p id="description"></p>
28 <iframe id="iframe" width="640" height="100"></iframe> 28 <iframe id="iframe" width="640" height="100"></iframe>
29 </div> 29 </div>
30 <script src="../js/resources/js-test-post.js"></script>
31 </body> 30 </body>
32 </html> 31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/panScroll-event-fired.html ('k') | LayoutTests/fast/events/panScroll-nested-divs.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698