Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / 5549929-2.html
blobaa98ad072b635a60cba71127d1961bac4cba263d
1 <p>This tests to make sure that a br isn't inserted into a tab span during an InsertLineBreak operation. You can test for its existence with the DOM inspector or you can look at the render tree.</p>
2 <div id="div" contenteditable="true">
3 <div><span class="Apple-tab-span" style="white-space:pre"> </span>foo</div>
4 <div><span class="Apple-tab-span" style="white-space:pre"> </span>bar</div>
5 </div>
7 <script>
8 div = document.getElementById("div");
9 div.focus();
10 sel = window.getSelection();
11 sel.collapse(div, 0);
12 sel.modify("extend", "forward", "paragraph");
13 document.execCommand("InsertLineBreak");
14 </script>