Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / 5549929-1.html
blobff3baeffdce8adb96e5a73b56dfe87324f7cb22e
1 <p>This tests for a crash when inserting into a tab into a tab span that contains a br. You should no longer be able to get a br inside a tab span while editing but we should still avoid the crash.</p>
2 <div id="div" contenteditable="true">
3 <div>foo</div>
4 <div><span id="span" class="Apple-tab-span"><br></span></div>
5 <div>bar</div>
7 <script>
8 if (window.testRunner)
9 window.testRunner.dumpAsText();
10 document.getElementById("div").focus();
11 span = document.getElementById("span");
12 window.getSelection().collapse(span, 0);
13 document.execCommand("InsertText", false, "\t");
14 </script>