| Index: LayoutTests/editing/execCommand/insert-list-xml.xhtml
|
| diff --git a/LayoutTests/editing/execCommand/insert-list-xml.xhtml b/LayoutTests/editing/execCommand/insert-list-xml.xhtml
|
| index fac081a7adae6f6faff0e1d07afefe431856ed03..f1e31b600568b6264a441aa0bc55eacde88f5307 100644
|
| --- a/LayoutTests/editing/execCommand/insert-list-xml.xhtml
|
| +++ b/LayoutTests/editing/execCommand/insert-list-xml.xhtml
|
| @@ -1,31 +1,31 @@
|
| -<mat:diff xmlns:mat="http://www.w3.org/1998/Math/MathML">
|
| - <html xmlns="http://www.w3.org/1999/xhtml">
|
| - <head>
|
| - <script type="text/javascript">
|
| - if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
| + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| +<html xmlns="http://www.w3.org/1999/xhtml">
|
| + <head>
|
| + <script type="text/javascript">
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
|
|
| - function start()
|
| - {
|
| - // select the span that's editable
|
| - document.getElementById("insertlisthere").focus();
|
| + function start()
|
| + {
|
| + // select the span that's editable
|
| + document.getElementById("insertlisthere").focus();
|
|
|
| - // insert an ordered list into the span
|
| - document.execCommand("insertorderedlist", false, null);
|
| - log(document.getElementById("insertlisthere").outerHTML);
|
| - log("PASS");
|
| - }
|
| - function log(str) {
|
| - var li = document.createElement("li");
|
| - li.appendChild(document.createTextNode(str));
|
| - var console = document.getElementById("console");
|
| - console.appendChild(li);
|
| - }
|
| - </script>
|
| - </head>
|
| - <body onload="start();">
|
| - <div contenteditable="true" id="insertlisthere">.</div>
|
| - <ul id="console"></ul>
|
| - </body>
|
| - </html>
|
| -</mat:diff>
|
| + // insert an ordered list into the span
|
| + document.execCommand("insertorderedlist", false, null);
|
| + log(document.getElementById("insertlisthere").outerHTML);
|
| + log("PASS");
|
| + }
|
| + function log(str) {
|
| + var li = document.createElement("li");
|
| + li.appendChild(document.createTextNode(str));
|
| + var console = document.getElementById("console");
|
| + console.appendChild(li);
|
| + }
|
| + </script>
|
| + </head>
|
| + <body onload="start();">
|
| + <div contenteditable="true" id="insertlisthere">.</div>
|
| + <ul id="console"></ul>
|
| + </body>
|
| +</html>
|
|
|