| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Transformed resize corner tracking</title> | 3 <title>Transformed resize corner tracking</title> |
| 4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
| 5 function resize() | 5 function resize() |
| 6 { | 6 { |
| 7 // Mouse events only work after an initial layout | |
| 8 document.body.offsetLeft; | |
| 9 eventSender.mouseMoveTo(185, 233); | 7 eventSender.mouseMoveTo(185, 233); |
| 10 eventSender.mouseDown(); | 8 eventSender.mouseDown(); |
| 11 eventSender.mouseMoveTo(185, 260); | 9 eventSender.mouseMoveTo(185, 260); |
| 12 eventSender.mouseUp(); | 10 eventSender.mouseUp(); |
| 13 } | 11 } |
| 14 function test() | 12 function test() |
| 15 { | 13 { |
| 16 if (!window.testRunner) | 14 if (!window.testRunner) |
| 17 return; | 15 return; |
| 18 | 16 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 30 <hr> | 28 <hr> |
| 31 <p> | 29 <p> |
| 32 Test for | 30 Test for |
| 33 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9221">https://bugs.w
ebkit.org/show_bug.cgi?id=9221</a> | 31 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9221">https://bugs.w
ebkit.org/show_bug.cgi?id=9221</a> |
| 34 resize property doesn't work on iframes</i>. | 32 resize property doesn't work on iframes</i>. |
| 35 </p> | 33 </p> |
| 36 <hr> | 34 <hr> |
| 37 <iframe id="iframe" style="resize: both; width: 150px; height: 100px; border
: blue 2px solid;"></iframe> | 35 <iframe id="iframe" style="resize: both; width: 150px; height: 100px; border
: blue 2px solid;"></iframe> |
| 38 | 36 |
| 39 </body> | 37 </body> |
| OLD | NEW |