5 This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a RTL block.
6 To test manually, click the right of the text. The caret should be on the right edge.
8 <div style=
"direction: rtl; font-size: 20px; width: 20ex; border: solid thin black; padding: 10px;" contenteditable
>WebKit2
</div>
9 <script src=
"resources/caret-edge-shared.js"></script>
12 var clickOn
= 'right';
13 var expectedOffset
= 0;