Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-div-026.html
blobd9d69b0ed5507b78e452c5087063bfe6500500b9
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 font-size: 24px;
9 .explanation {
10 border: 2px solid blue;
11 padding: 12px;
12 font-size: 24px;
13 margin-bottom: 24px;
15 .scenario { margin-bottom: 16px;}
16 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
17 .expected-results:first-line { font-weight: bold }
18 </style>
19 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
21 <script>
23 function editingTest() {
24 extendSelectionForwardByLineCommand();
25 boldCommand();
26 moveSelectionForwardByCharacterCommand();
27 insertParagraphCommand();
28 boldCommand();
29 typeCharacterCommand();
30 moveSelectionBackwardByCharacterCommand();
31 deleteCommand();
34 </script>
36 <title>Editing Test</title>
37 </head>
38 <body>
40 <div class="explanation">
41 <div class="scenario">
42 Tests:
43 <br>
44 Inserting blocks for paragraphs should do a better job of finding a block to insert after.
45 <a href="rdar://problem/3996605">&lt;rdar://problem/3996605&gt;</a> Insert paragraph command puts new block in wrong place, creating difficult-to-handle HTML
46 </div>
47 <div class="expected-results">
48 Expected Results:
49 <br>
50 Should see this content in the red box below: <b>fo</b>x
51 </div>
52 </div>
54 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
55 <div id="test" class="editing">
57 </div>
59 <script>
60 runEditingTest();
61 </script>
63 </body>
64 </html>