Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / international / rtl-caret.html
blobf24411166d7641505a4f748d802a3fef5019948d
1 <html>
2 <head>
3 <title></title>
4 </head>
5 <body>
6 <p>
7 This is a regression test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=8866">http://bugzilla.opendarwin.org/show_bug.cgi?id=8866</a>
8 REGRESSION: Incorrect caret position in RTL text</i>.
9 </p>
10 <p>
11 The caret should be in the middle of the Hebrew word.
12 </p>
13 <hr>
14 <div id="t" contenteditable>
15 &#x05d0;&#x05d5;&#x05db;&#x05de;&#x05e0;&#x05d9;&#x05d5;&#x05ea;
16 </div>
17 <script type="text/javascript">
18 var text = document.getElementById('t').childNodes[0];
19 window.getSelection().setBaseAndExtent(text, 5, text, 5);
20 </script>
21 </body>
22 </html>