Reviewed by John
[WebKit-https.git] / LayoutTests / editing / inserting / insert-div-011.html
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
13 </style>
14 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
15
16 <script>
17
18 function editingTest() {
19     insertParagraphCommand();
20 }
21
22 </script>
23
24 <title>Editing Test</title> 
25 </head> 
26 <body contenteditable id="root">
27
28 Test inserting paragraphs: should see empty red box above "baz"
29
30 <div style="height: 12px"></div>
31
32 <div class="editing" id="test">baz</div>bar<div class="editing">foo</div>
33 <div class="editing"><br class="khtml-block-placeholder"></div>
34
35 <script>
36 runEditingTest();
37 </script>
38
39 </body>
40 </html>