Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / insert-list-xml.xhtml
blobf1e31b600568b6264a441aa0bc55eacde88f5307
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <script type="text/javascript">
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 function start()
11 // select the span that's editable
12 document.getElementById("insertlisthere").focus();
14 // insert an ordered list into the span
15 document.execCommand("insertorderedlist", false, null);
16 log(document.getElementById("insertlisthere").outerHTML);
17 log("PASS");
19 function log(str) {
20 var li = document.createElement("li");
21 li.appendChild(document.createTextNode(str));
22 var console = document.getElementById("console");
23 console.appendChild(li);
25 </script>
26 </head>
27 <body onload="start();">
28 <div contenteditable="true" id="insertlisthere">.</div>
29 <ul id="console"></ul>
30 </body>
31 </html>