blob: 281bdc4a27bf5fc592e35fdc8d038ec334c36a4a [file] [log] [blame]
rniwa@webkit.org2798e022010-12-08 21:55:54 +00001<!DOCTYPE html>
2<html>
3<body>
4<p>
5This tests that clicking in a contenteditable div will set the caret in the right position for LTR text in a LTR block.
6To test manually, click the right of the text. The caret should be on the right edge.
7</p>
8<div style="font-size: 20px; width: 20ex; border: solid thin black; padding: 10px;" contenteditable>WebKit2</div>
9<script src="resources/caret-edge-shared.js"></script>
10<script>
11
12var clickOn = 'right';
13var expectedOffset = 7;
14
15runTest();
16
17</script>
18</body>
19</html>