Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 4916235.html
blobe19eea08251bb44a20af24c5b1d9b2696a082f8c
1 <p>This tests for a crash when performing InsertOrderedList on an unordered list item. You should see 'foo' and 'bar' each in their own ordered list items.</p>
2 <div id="div" contenteditable="true"><ul><li id="li1">foo</li><li id="li2">bar<br></li></ul></div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
8 var li = document.getElementById("li1");
9 var sel = window.getSelection();
11 sel.setBaseAndExtent(li, 0, li, li.childNodes.length);
12 document.execCommand("InsertOrderedList");
14 li = document.getElementById("li2");
15 sel.setBaseAndExtent(li, 0, li, li.childNodes.length);
16 document.execCommand("InsertOrderedList");
17 </script>