Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5144139-1.html
blob61b8334288fd3cad6b33be9a1a5df5b01649e0a8
1 <p>This tests for a bug when creating a list from a table. The table should be inside a list item.</p>
2 <div contenteditable="true" id="div"><table border="1"><tr><td>foo</td></tr></table></div>
3 <p id="console"></p>
4 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 function log(message) {
10 var console = document.getElementById("console");
11 var text = document.createTextNode(message);
12 console.appendChild(text);
15 var div = document.getElementById("div");
16 div.focus();
18 document.execCommand("SelectAll");
19 document.execCommand("InsertUnorderedList");
21 log(div.innerHTML);
23 </script>