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

Side by Side Diff: LayoutTests/fast/events/click-with-large-negative-text-indent.html

Issue 99073005: Merge 162590 "[REGRESSION] Button cannot be clicked with text-in..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1700/
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/click-with-large-negative-text-indent-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 } 6 }
7 </script> 7 </script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <button id="testButton" style="text-indent: -99999999px;" onclick="btnClicked()" >Move</button> 10 <button id="testButton" style="text-indent: -99999999px;" onclick="btnClicked()" >Move</button>
11 <p id="output"></p> 11 <p id="output"></p>
12 <script> 12 <script>
13 function btnClicked() 13 function btnClicked()
14 { 14 {
15 document.getElementById('output').innerHTML = "Button is clicked."; 15 document.getElementById('output').innerHTML = "Button is clicked.";
16 } 16 }
17 if (window.eventSender) { 17 if (window.eventSender) {
18 var testEle = document.getElementById('testButton'); 18 var testEle = document.getElementById('testButton');
19 eventSender.mouseMoveTo(testEle.offsetLeft + testEle.offsetWidth / 2, testEl e.offsetTop + testEle.offsetHeight / 2); 19 eventSender.mouseMoveTo(testEle.offsetLeft + testEle.offsetWidth / 2, testEl e.offsetTop + testEle.offsetHeight / 2);
20 eventSender.mouseDown(); 20 eventSender.mouseDown();
21 eventSender.mouseUp(); 21 eventSender.mouseUp();
22 } 22 }
23 </script> 23 </script>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/click-with-large-negative-text-indent-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698