| <html> |
| <head> |
| <script> |
| function testonload() { |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| document.designMode = "on"; |
| font.appendChild(li); |
| document.execCommand("selectAll"); |
| document.execCommand("insertUnorderedList", false); |
| } |
| </script> |
| </head> |
| <body onload=testonload()> |
| <marquee> |
| <font id="font"></font> |
| </marquee> |
| <ol> |
| <li contenteditable="false"></li> |
| <li id="li">This tests that we do not crash while inserting the ul.</li> |
| <li>This will be replaced with the final character of the previous li element.</li> |
| </ol> |
| </body> |
| </html> |