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

Side by Side Diff: LayoutTests/fast/events/wheelevent-in-text-node.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 <script> 5 <script>
6 window.jsTestIsAsync = true; 6 window.jsTestIsAsync = true;
7 7
8 function test() { 8 function test() {
9 var div = document.querySelector('div'); 9 var div = document.querySelector('div');
10 if (window.eventSender) { 10 if (window.eventSender) {
(...skipping 12 matching lines...) Expand all
23 shouldBeEqualToString('theEvent.target.nodeName', 'DIV'); 23 shouldBeEqualToString('theEvent.target.nodeName', 'DIV');
24 finishJSTest(); 24 finishJSTest();
25 } 25 }
26 26
27 window.onload = function () { 27 window.onload = function () {
28 var div = document.querySelector('div'); 28 var div = document.querySelector('div');
29 div.addEventListener('mousewheel', wheelHandler); 29 div.addEventListener('mousewheel', wheelHandler);
30 test(); 30 test();
31 }; 31 };
32 </script> 32 </script>
33 <script src="../js/resources/js-test-post.js"></script>
34 </head> 33 </head>
35 <body> 34 <body>
36 <div>This is a div containing text. Wheel events originating on the text 35 <div>This is a div containing text. Wheel events originating on the text
37 node should target the div.</div> 36 node should target the div.</div>
38 </body> 37 </body>
39 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698