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

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

Issue 275563003: Change caret to show language direction (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP patch for directional caret 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 http-equiv="Content-Type" content="text/html;charset=utf-8">
5 <title>Caret LTR Direction Test</title>
6 <style>
7 .editing {
8 border: 2px solid red;
9 padding: 12px;
10 font-size: 24px;
11 width: 400px;
12 direction: ltr;
13 unicode-bidi: -webkit-isolate;
14 }
15 </style>
16 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
17
18 <script>
19 function editingTest() {
20 moveSelectionForwardByLineCommand();
21 moveSelectionLeftByCharacterCommand();
22 }
23 </script>
24 </head>
25 <body>
26 <p>Tests display caret direction (LTR) as per Input.
27 </p>
28 <div contenteditable id="root" class="editing">
29 <span id="test">Caret in LTR Language</span>
30 </div>
31
32 <script>
33 runEditingTest();
34 </script>
35
36 </body>
37 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/editing/caret/caret-pointer-direction-LTR-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698