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

Side by Side Diff: LayoutTests/fast/dom/HTMLTableColElement/resize-table-using-col-width.html

Issue 15508003: Revert "Don't force layout for mouse event hit tests" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months 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 <html> 1 <html>
2 <head> 2 <head>
3 3
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 5
6 function changeColWidthUsingWidth() 6 function changeColWidthUsingWidth()
7 { 7 {
8 var column = document.getElementById("col"); 8 var column = document.getElementById("col");
9 column.width = "500px"; 9 column.width = "500px";
10 } 10 }
(...skipping 18 matching lines...) Expand all
29 <td>col 1 row 2</td> 29 <td>col 1 row 2</td>
30 <td>col 2 row 2</td> 30 <td>col 2 row 2</td>
31 <td>col 3 row 3</td> 31 <td>col 3 row 3</td>
32 </tr> 32 </tr>
33 </tbody> 33 </tbody>
34 </table> 34 </table>
35 <button onclick="changeColWidthUsingWidth();">Click me to test manually. The first column should grow to 500px.</button> 35 <button onclick="changeColWidthUsingWidth();">Click me to test manually. The first column should grow to 500px.</button>
36 36
37 <script> 37 <script>
38 if (window.eventSender) { 38 if (window.eventSender) {
39 // Mouse events only work after an initial layout
40 document.body.offsetLeft;
41 eventSender.mouseMoveTo(50, 75); 39 eventSender.mouseMoveTo(50, 75);
42 eventSender.mouseDown(); 40 eventSender.mouseDown();
43 eventSender.mouseUp(); 41 eventSender.mouseUp();
44 } 42 }
45 </script> 43 </script>
46 44
47 </body> 45 </body>
48 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698