| Index: LayoutTests/editing/caret/caret-pointer-direction-RTL.html
|
| diff --git a/LayoutTests/editing/caret/caret-pointer-direction-RTL.html b/LayoutTests/editing/caret/caret-pointer-direction-RTL.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7b2200fa84dea5d528f945c59a82c3b0b0626c56
|
| --- /dev/null
|
| +++ b/LayoutTests/editing/caret/caret-pointer-direction-RTL.html
|
| @@ -0,0 +1,42 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<meta charset="UTF-8">
|
| +<style>
|
| +.editing {
|
| + border: 2px solid red;
|
| + padding: 12px;
|
| + font-size: 24px;
|
| + width: 400px;
|
| + direction: rtl;
|
| + unicode-bidi: -webkit-isolate;
|
| +}
|
| +</style>
|
| +<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
|
| +
|
| +<script>
|
| +
|
| +function editingTest() {
|
| + moveSelectionForwardByLineCommand();
|
| + moveSelectionLeftByCharacterCommand();
|
| +}
|
| +
|
| +</script>
|
| +
|
| +<title>Caret RTL Direction Test</title>
|
| +</head>
|
| +<body>
|
| +<p>Tests display caret direction (RTL) as per Input.
|
| +</p>
|
| +<div contenteditable id="root" class="editing">
|
| +<span id="test">Caret in RTL Language نلا</span>
|
| +</div>
|
| +
|
| +<script>
|
| +runEditingTest();
|
| +</script>
|
| +
|
| +</body>
|
| +</html>
|
| +
|
| +
|
|
|