| <html> |
| <head> |
| <script> |
| |
| if (window.layoutTestController) { |
| layoutTestController.dumpAsText(); |
| layoutTestController.waitUntilDone(); |
| } |
| |
| function go() { |
| document.designMode = "on"; |
| document.execCommand("SelectAll", false, null); |
| document.execCommand("strikethrough", false, null); |
| document.body.innerHTML = 'This tests ApplyStyleCommand::fixRangeAndApplyInlineStyle does not crash when startNode is body.<br>PASS'; |
| layoutTestController.notifyDone(); |
| } |
| </script> |
| </head> |
| <body onload="go()"><div><img></div></body> |
| </html> |