Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5543472-1.html
blob4e163be87edc66afc5d604685974de713d4a3b22
1 <p id="p">This tests for a hang when creating a list from a particular selection, of table content that is already in a list item. The table should be in a list, and each table cell should contain a list item.</p>
2 <div id="div" contenteditable="true"><ul><li id="li"><table border="1"><tr><td id="td">foo</td><td>bar</td></tr></table></li></ul>
4 <br></div>
6 <script>
7 li = document.getElementById("li");
8 td = document.getElementById("td");
9 window.getSelection().setBaseAndExtent(td, 0, li, li.childNodes.length);
10 document.execCommand("InsertUnorderedList");
12 if (window.testRunner) {
13 window.testRunner.dumpAsText();
14 div = document.getElementById("div");
15 p = document.getElementById("p");
16 document.body.innerText = p.innerText + "\n\nDOM:\n" + div.innerHTML;
18 </script>