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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadowdom-for-input-button-click.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 <body> 2 <body>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../js/resources/js-test-pre.js"></script>
4 4
5 <input type="button" value="Button" style="padding:10px; -webkit-appearance:none ;" onclick="++clickCount"> 5 <input type="button" value="Button" style="padding:10px; -webkit-appearance:none ;" onclick="++clickCount">
6 <div id=console></div> 6 <div id=console></div>
7 7
8 <script> 8 <script>
9 description('Make sure that mouse click on an input button with shadow nodes wor ks.'); 9 description('Make sure that mouse click on an input button with shadow nodes wor ks.');
10 var clickCount = 0; 10 var clickCount = 0;
(...skipping 24 matching lines...) Expand all
35 shouldBe('clickCount', '1'); 35 shouldBe('clickCount', '1');
36 36
37 debug('Click on the original value text:'); 37 debug('Click on the original value text:');
38 clickCount = 0; 38 clickCount = 0;
39 eventSender.mouseMoveTo(shadowNodeRect.right + 10, shadowNodeRect.top + shadowNo deRect.height / 2); 39 eventSender.mouseMoveTo(shadowNodeRect.right + 10, shadowNodeRect.top + shadowNo deRect.height / 2);
40 eventSender.mouseDown(); 40 eventSender.mouseDown();
41 eventSender.mouseUp(); 41 eventSender.mouseUp();
42 shouldBe('clickCount', '1'); 42 shouldBe('clickCount', '1');
43 </script> 43 </script>
44 44
45 <script src="../../js/resources/js-test-post.js"></script>
46 </body> 45 </body>
47 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698