Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-div-014.html
blob4dc03825eec5666c9e4d0426324c562e0840ad9b
1 <html>
2 <head>
4 <style>
5 body {
6 font-size: 24px;
8 .editing {
9 border: 2px solid red;
10 padding: 12px;
12 div {
13 border: 2px solid blue;
14 padding: 12px;
17 </style>
18 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
20 <script>
22 function editingTest() {
23 for (i = 0; i < 7; i++)
24 moveSelectionForwardByCharacterCommand();
25 insertParagraphCommand();
28 </script>
30 <title>Editing Test</title>
31 </head>
32 <body contenteditable id="root" spellcheck="false">
34 Test inserting paragraphs: should see empty blue box below "bar"
36 <div style="border: none; height: 12px"></div>
38 <div class="editing" spellcheck="true" id="test">baz</div>bar<div class="editing">foo</div>
39 <div class="editing"><br class="khtml-block-placeholder"></div>
41 <script>
42 runEditingTest();
43 </script>
45 </body>
46 </html>