blob: 26a744c4a197a30b3ca5be0076a9f6ee136b92fe [file] [log] [blame]
<html>
<head>
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
</script>
<script>
function test()
{
if (window.layoutTestController) {
eventSender.mouseMoveTo(25, 75);
eventSender.mouseDown();
eventSender.mouseUp();
}
}
</script>
</head>
<body onload="test()">
This tests that clicking in a contenteditable div will set the caret in the right position for rtl text.
<br>
<p>
Click in the middle of the field. The caret should be on the edge of the text closer to where you clicked.
</p>
<div style="direction: rtl; width:150px; border: solid thin black; position: absolute; top: 70; left: 10;" contenteditable>&#x05e9;&#x05d3;&#x05d4; &#x05d1;&#x05d5;&#x05e8;</div>
</body>
</html>