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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/inserting/insert-div-012.html

Issue 2176113002: Convert editing/inserting/insert-div-01[1-7].html to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-25T15:18:37 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 body {
6 font-size: 24px;
7 }
8 .editing {
9 border: 2px solid red;
10 padding: 12px;
11 }
12 p {
13 border: 2px solid blue;
14 padding: 12px;
15 }
16
17 </style>
18 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script >
19
20 <script>
21
22 function editingTest() {
23 for (i = 0; i < 3; i++)
24 moveSelectionForwardByCharacterCommand();
25 insertParagraphCommand();
26 }
27
28 </script>
29
30 <title>Editing Test</title>
31 </head>
32 <body contenteditable id="root">
33
34 Test inserting paragraphs: should see empty red box below "baz"
35
36 <div style="height: 12px"></div>
37
38 <div class="editing" id="test">baz</div>bar<div class="editing">foo</div>
39 <div class="editing"><br class="khtml-block-placeholder"></div>
40
41 <script>
42 runEditingTest();
43 </script>
44
45 </body>
46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698