26 lines
706 B
HTML
26 lines
706 B
HTML
<html>
|
|
<head>
|
|
<title></title>
|
|
<style>
|
|
@import url(resources/Mac-compatible-font-fallback.css);
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
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>
|
|
REGRESSION: Incorrect caret position in RTL text</i>.
|
|
</p>
|
|
<p>
|
|
The caret should be in the middle of the Hebrew word.
|
|
</p>
|
|
<hr>
|
|
<div id="t" contenteditable>
|
|
אוכמניות
|
|
</div>
|
|
<script type="text/javascript">
|
|
var text = document.getElementById('t').childNodes[0];
|
|
window.getSelection().setBaseAndExtent(text, 5, text, 5);
|
|
</script>
|
|
</body>
|
|
</html>
|