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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/inserting/insert-at-end-02.html

Issue 2339853002: Convert editing/inserting/insert-at-end-0[12].html to use w3c test harness (Closed)
Patch Set: 2016-09-14T15:19:59 Created 4 years, 3 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 <link rel="stylesheet" href="../editingStyle.css">
5 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
6
7 <script>
8
9 function editingTest() {
10 moveSelectionForwardByLineCommand();
11 moveSelectionForwardByLineCommand();
12 moveSelectionForwardByLineCommand();
13 moveSelectionForwardByLineCommand();
14 typeCharacterCommand();
15 }
16
17 </script>
18
19 <title>Editing Test</title>
20 </head>
21 <body>
22
23 <p>This tests the visual position at the end of an editable block.</p>
24 <p>When the document ended with a &lt;br&gt;, there were visual positions at bot h [br, 0] and [br, 1]. This would produce inconsistent behavior when editing at the end of a document.</p>
25
26 <div contenteditable id="test" class="editing">
27 <div>paragraph one</div>
28 <div>paragraph two</div>
29 <br>
30 </div>
31
32 <script>runEditingTest();</script>
33
34 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698