Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: LayoutTests/editing/caret/caret-pointer-direction-RTL.html

Issue 275563003: Change caret to show language direction (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comment fixes Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <style>
6 .editing {
7 border: 2px solid red;
8 padding: 12px;
9 font-size: 24px;
10 width: 400px;
11 direction: rtl;
12 unicode-bidi: -webkit-isolate;
13 }
14 </style>
15 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
16
17 <script>
18
19 function editingTest() {
20 moveSelectionForwardByLineCommand();
21 moveSelectionLeftByCharacterCommand();
22 }
23
24 </script>
25
26 <title>Caret RTL Direction Test</title>
27 </head>
28 <body>
29 <p>Tests display caret direction (RTL) as per Input.
30 </p>
31 <div contenteditable id="root" class="editing">
32 <span id="test">Caret in RTL Language نلا</span>
33 </div>
34
35 <script>
36 runEditingTest();
37 </script>
38
39 </body>
40 </html>
41
42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698