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

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

Issue 81833005: [REGRESSION] Button cannot be clicked with text-indent : -99999999px after r143483. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a new layout test. 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
« 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
(Empty)
1 <html>
2 <head>
3 <script>
4 function test()
5 {
6 if (window.testRunner) {
7 testRunner.dumpAsText();
tkent 2013/11/22 05:11:55 We should call dumpAsText earlier. e.g. <script>
8 testRunner.waitUntilDone();
tkent 2013/11/22 05:11:55 Calling waitUntilDone() and noifyDone() in one fun
9 }
10 if (window.eventSender) {
11 var testEle = document.getElementById('testButton');
12 eventSender.mouseMoveTo(testEle.offsetLeft+testEle.offsetWidth/2, testEl e.offsetTop+testEle.offsetHeight/2);
tkent 2013/11/22 05:11:55 Need spaces around '+' and '/'
13 eventSender.mouseDown();
14 eventSender.mouseUp();
15 }
16 testRunner.notifyDone();
17 }
18
19 function btnClicked()
20 {
21 document.getElementById('output').innerHTML = "Button is clicked.";
22 }
23 </script>
24 </head>
25 <body onload="test()">
26 <button id="testButton" style="text-indent: -99999999px;" href="#none" onclick=" btnClicked()" title="newWindow">Move</button>
27 <p id="output">
28 </p>
29 </body>
30 </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