summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/caret-rtl.html
blob: afa58c0c5d9168a17c8fff39e40c45e81afa964c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
<head>
<script>
if (window.testRunner)
     testRunner.dumpEditingCallbacks();

function runTest()
{
    var e = document.getElementById("test");
    e.focus();
}

</script>
</head>
<body>
This tests that clicking in a contenteditable div will set the caret in the right edge of the div
<br>
<p>
    Click in the div, the caret should be on the right edge of the div.
</p>
<div CONTENTEDITABLE id="test" style="direction: rtl; width:200px; font-size:2000%; outline: solid thin"></div> 
</body>
<script> runTest(); </script>
</html>