OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src=../editing.js language="JavaScript" type="text/JavaScript"></script> | 3 <script src=../editing.js language="JavaScript" type="text/JavaScript"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 if (window.testRunner) | 6 if (window.testRunner) |
7 window.testRunner.dumpAsText(); | 7 window.testRunner.dumpAsText(); |
8 | 8 |
9 function log(message) { | 9 function log(message) { |
10 var console = document.getElementById("console"); | 10 var console = document.getElementById("console"); |
(...skipping 11 matching lines...) Expand all Loading... |
22 deleteCommand(); | 22 deleteCommand(); |
23 insertHTMLCommand(html); | 23 insertHTMLCommand(html); |
24 | 24 |
25 log(d.innerHTML); | 25 log(d.innerHTML); |
26 } | 26 } |
27 </script> | 27 </script> |
28 </head> | 28 </head> |
29 | 29 |
30 <body> | 30 <body> |
31 <p>This is a test of execCommand(insertHTML, ...). The contents of the editable
div below should be the same before and after the test.</p> | 31 <p>This is a test of execCommand(insertHTML, ...). The contents of the editable
div below should be the same before and after the test.</p> |
32 <div id="test" contenteditable="true">hello<table style="display:inline" border=
1><tr><td>1</td><td>2</td></tr></table><b>world</b>!</div> | 32 <div id="test" contenteditable="true">hello<table style="display:inline-table" b
order=1><tr><td>1</td><td>2</td></tr></table><b>world</b>!</div> |
33 <ul id="console"></ul> | 33 <ul id="console"></ul> |
34 <script> | 34 <script> |
35 runEditingTest(); | 35 runEditingTest(); |
36 </script> | 36 </script> |
37 </body> | 37 </body> |
38 | 38 |
39 </html> | 39 </html> |
OLD | NEW |