OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 #textDiv { | 5 #textDiv { |
6 height: 100px; | 6 height: 100px; |
7 width: 100px; | 7 width: 100px; |
8 border: 1px solid black; | 8 border: 1px solid black; |
9 -webkit-writing-mode: vertical-rl; | 9 -webkit-writing-mode: vertical-rl; |
10 } | 10 } |
(...skipping 17 matching lines...) Expand all Loading... |
28 eventSender.mouseMoveTo(testDiv.offsetLeft + testDiv.offsetWidth - 5, testDi
v.offsetTop + testDiv.offsetHeight - 5); | 28 eventSender.mouseMoveTo(testDiv.offsetLeft + testDiv.offsetWidth - 5, testDi
v.offsetTop + testDiv.offsetHeight - 5); |
29 eventSender.mouseDown(); | 29 eventSender.mouseDown(); |
30 eventSender.mouseUp(); | 30 eventSender.mouseUp(); |
31 caretRectAtEnd = internals.absoluteCaretBounds(); | 31 caretRectAtEnd = internals.absoluteCaretBounds(); |
32 | 32 |
33 shouldBe("caretRectAtEnd.left", "caretRectAtStart.left"); | 33 shouldBe("caretRectAtEnd.left", "caretRectAtStart.left"); |
34 shouldBe("caretRectAtEnd.width", "caretRectAtStart.width"); | 34 shouldBe("caretRectAtEnd.width", "caretRectAtStart.width"); |
35 shouldBe("caretRectAtEnd.height", "caretRectAtStart.height"); | 35 shouldBe("caretRectAtEnd.height", "caretRectAtStart.height"); |
36 } | 36 } |
37 </script> | 37 </script> |
38 <script src="../../fast/js/resources/js-test-post.js"></script> | |
39 </body> | 38 </body> |
40 </html> | 39 </html> |
OLD | NEW |