Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / vertical-rl-rtl-extend-line-forward-p.html
blobc3bbffe2fc34bba71ebf33215ecac68aa50f5a6f
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
5 <style> .selected { color: blue; } </style>
6 </head>
7 <body>
8 <p>This tests horizontal caret movement in vertical writing mode.</p>
9 <div id="test" style="font-family: monospace; font-size: 20px; height: 15ex; -webkit-writing-mode: vertical-rl;-webkit-text-orientation:sideways-right;text-rendering:optimizeLegibility; outline: none;" contenteditable>
10 <p dir="rtl">אני חתול.</p><p dir="rtl">אין לי שם.</p>
11 </div>
12 <pre id="log"></pre>
13 <script>
15 var test = document.getElementById('test');
16 window.getSelection().collapse(test.getElementsByTagName('p')[0].firstChild, 5);
17 window.getSelection().modify('Extend', 'Forward', 'Line');
19 </script>
20 </body>
21 </html>