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; |
7 eventSender.mouseMoveTo(185, 233); | 9 eventSender.mouseMoveTo(185, 233); |
8 eventSender.mouseDown(); | 10 eventSender.mouseDown(); |
9 eventSender.mouseMoveTo(185, 260); | 11 eventSender.mouseMoveTo(185, 260); |
10 eventSender.mouseUp(); | 12 eventSender.mouseUp(); |
11 } | 13 } |
12 function test() | 14 function test() |
13 { | 15 { |
14 if (!window.testRunner) | 16 if (!window.testRunner) |
15 return; | 17 return; |
16 | 18 |
(...skipping 11 matching lines...) Expand all Loading... |
28 <hr> | 30 <hr> |
29 <p> | 31 <p> |
30 Test for | 32 Test for |
31 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9221">https://bugs.w
ebkit.org/show_bug.cgi?id=9221</a> | 33 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9221">https://bugs.w
ebkit.org/show_bug.cgi?id=9221</a> |
32 resize property doesn't work on iframes</i>. | 34 resize property doesn't work on iframes</i>. |
33 </p> | 35 </p> |
34 <hr> | 36 <hr> |
35 <iframe id="iframe" style="resize: both; width: 150px; height: 100px; border
: blue 2px solid;"></iframe> | 37 <iframe id="iframe" style="resize: both; width: 150px; height: 100px; border
: blue 2px solid;"></iframe> |
36 | 38 |
37 </body> | 39 </body> |
OLD | NEW |