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

Side by Side Diff: LayoutTests/fast/events/mouseenter-mouseleave-capture.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 document.addEventListener('DOMContentLoaded', function () { 8 document.addEventListener('DOMContentLoaded', function () {
9 document.body.addEventListener('mouseenter', handleEvent, true); 9 document.body.addEventListener('mouseenter', handleEvent, true);
10 document.body.addEventListener('mouseleave', handleEvent, true); 10 document.body.addEventListener('mouseleave', handleEvent, true);
(...skipping 15 matching lines...) Expand all
26 26
27 finishJSTest(); 27 finishJSTest();
28 }); 28 });
29 29
30 function handleEvent(e) { 30 function handleEvent(e) {
31 var target = e.target ? e.target : e.srcElement; 31 var target = e.target ? e.target : e.srcElement;
32 if (target.id && target.id != "console") 32 if (target.id && target.id != "console")
33 debug(e.type + " on " + target.id); 33 debug(e.type + " on " + target.id);
34 } 34 }
35 </script> 35 </script>
36 <script src="../js/resources/js-test-post.js"></script>
37 36
38 <style> 37 <style>
39 #outer { 38 #outer {
40 background: blue; 39 background: blue;
41 height: 100px; 40 height: 100px;
42 left: 100px; 41 left: 100px;
43 position: absolute; 42 position: absolute;
44 top: 100px; 43 top: 100px;
45 width: 100px; 44 width: 100px;
46 } 45 }
(...skipping 26 matching lines...) Expand all
73 </head> 72 </head>
74 <body> 73 <body>
75 <div id="outer"> 74 <div id="outer">
76 <div id="inner1"></div> 75 <div id="inner1"></div>
77 <div id="inner2"> 76 <div id="inner2">
78 <div id="inner3"></div> 77 <div id="inner3"></div>
79 </div> 78 </div>
80 </div> 79 </div>
81 </body> 80 </body>
82 </html> 81 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698