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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/inserting/typing-001.html

Issue 2184503003: Convert editing/inserting/typing-00[1-3].html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-26T14:42:22 Created 4 years, 4 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 < 3; i++) {
17 typeCharacterCommand();
18 }
19 for (i = 0; i < 2; i++) {
20 moveSelectionForwardByCharacterCommand();
21 }
22 for (i = 0; i < 3; i++) {
23 typeCharacterCommand();
24 }
25 for (i = 0; i < 2; i++) {
26 moveSelectionForwardByCharacterCommand();
27 }
28 for (i = 0; i < 3; i++) {
29 typeCharacterCommand();
30 }
31 }
32
33 </script>
34
35 <title>Editing Test</title>
36 </head>
37 <body>
38 <div contenteditable id="root" class="editing">
39 <span id="test">XXXX</span>
40 </div>
41
42 <script>
43 runEditingTest();
44 </script>
45
46 </body>
47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698