Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-paragraph-after-tab-span-and-text.html
blob457d8c5cd818b4d2dfc953c7f8d60249cf922678
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="test" contenteditable>
5 <span class="Apple-tab-span" style="white-space:pre"> hello</span><br>
6 <span class="Apple-style-span"><span class="Apple-tab-span" style="white-space: pre; "> </span>world</span></div>
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
10 document.body.focus();
11 var span = document.getElementsByClassName('Apple-tab-span')[0];
12 window.getSelection().collapse(span, 1);
13 document.execCommand('InsertParagraph', false, null);
15 Markup.description('This test ensures WebKit inserts a paragraph separator properly at the end of a tab span.')
16 Markup.dump('test');
18 </script>
19 </body>
20 </html>