OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| 3 <style> |
| 4 #test { |
| 5 position: absolute; |
| 6 left: 0px; |
| 7 top: 200px; |
| 8 -webkit-writing-mode: vertical-rl; |
| 9 width: 200px; |
| 10 height: 300px; |
| 11 border: 1px solid black; |
| 12 outline-style: none; |
| 13 } |
| 14 </style> |
| 15 <script> |
| 16 if (window.testRunner) |
| 17 testRunner.dumpAsTextWithPixelResults(); |
| 18 |
| 19 function repaintTest() { |
| 20 var testElement = document.getElementById("test"); |
| 21 var selection = window.getSelection(); |
| 22 selection.collapse(testElement, 1); |
| 23 selection.modify("Extend", "Forward", "Line"); |
| 24 } |
| 25 </script> |
| 26 <body onload="runRepaintTest()"> |
| 27 <div id="test" contenteditable="true"> |
| 28 <div>Some text in vertical mode</div> |
| 29 </div> |
| 30 </body> |
OLD | NEW |