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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/extend-by-character-004.html

Issue 1798413003: [Editing][CodeHealth] Use w3c testharness in editing/seletion/extend-by-* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 9 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 <html>
2 <head>
3
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
9 }
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
12
13 <script>
14
15 function editingTest() {
16 for (i = 0; i < 33; i++) {
17 extendSelectionForwardByCharacterCommand();
18 }
19 for (i = 0; i < 30; i++) {
20 extendSelectionBackwardByCharacterCommand();
21 }
22 }
23
24 </script>
25
26 <title>Editing Test</title>
27 </head>
28 <body>
29 <div contenteditable id="root" class="editing">
30 <span id="test">a<img src="../resources/abe.png">new
31 <br>nation <i> </i> <img src="../resources/abe.png"> conceived
32 <br>nation<img src="../resources/abe.png"></span>
33 </div>
34
35 <script>
36 runEditingTest();
37 </script>
38
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698