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

Side by Side Diff: LayoutTests/fast/events/scroll-after-click-on-tab-index.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 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../js/resources/js-test-pre.js"></script>
3 <script> 3 <script>
4 function getCenterFor(element) 4 function getCenterFor(element)
5 { 5 {
6 var rect = element.getBoundingClientRect(); 6 var rect = element.getBoundingClientRect();
7 return { x : parseInt((rect.left + rect.right) / 2) , y : parseInt((rect.top + rect.bottom) / 2)}; 7 return { x : parseInt((rect.left + rect.right) / 2) , y : parseInt((rect.top + rect.bottom) / 2)};
8 } 8 }
9 9
10 function runTest() 10 function runTest()
(...skipping 21 matching lines...) Expand all
32 shouldBe("document.body.scrollTop > 0", "true"); 32 shouldBe("document.body.scrollTop > 0", "true");
33 testRunner.notifyDone(); 33 testRunner.notifyDone();
34 } 34 }
35 35
36 </script> 36 </script>
37 <style> 37 <style>
38 </style> 38 </style>
39 <body onload="runTest();"> 39 <body onload="runTest();">
40 <input type="radio" id="myradio">Click the text below and then try to scroll.<br > 40 <input type="radio" id="myradio">Click the text below and then try to scroll.<br >
41 <div id="console"></div> 41 <div id="console"></div>
42 <script src="../js/resources/js-test-post.js"></script>
43 <br><br><br><br><br><br><br><br><br><br> 42 <br><br><br><br><br><br><br><br><br><br>
44 <span tabindex=1 id="sp">My span</span> 43 <span tabindex=1 id="sp">My span</span>
45 <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br> 44 <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br>
46 </body> 45 </body>
47 </html> 46 </html>
48 47
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/script-tests/TEMPLATE.html ('k') | LayoutTests/fast/events/scroll-event-during-modal-dialog.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698