| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <body> | 3 <body> |
| 4 | 4 |
| 5 <p>This test confirms some combination of editing command with Shadow DOM does n
ot cause a crash. | 5 <p>This test confirms some combination of editing command with Shadow DOM does n
ot cause a crash. |
| 6 To test manually, select from (before nested) to (after nested), then press Ital
ic, and InsertUnorderedList.</p> | 6 To test manually, select from (before nested) to (after nested), then press Ital
ic, and InsertUnorderedList.</p> |
| 7 | 7 |
| 8 <div id="container" contenteditable> | 8 <div id="container" contenteditable> |
| 9 <div><p>(before host)</p></div> | 9 <div><p>(before host)</p></div> |
| 10 <div id="host"> <span contenteditable="false">not editable</span></div> | 10 <div id="host"> <span contenteditable="false">not editable</span></div> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 document.execCommand('Italic'); | 38 document.execCommand('Italic'); |
| 39 document.execCommand('InsertUnorderedList'); | 39 document.execCommand('InsertUnorderedList'); |
| 40 | 40 |
| 41 container.innerHTML = "PASS"; | 41 container.innerHTML = "PASS"; |
| 42 } | 42 } |
| 43 | 43 |
| 44 var successfullyParsed = true; | 44 var successfullyParsed = true; |
| 45 </script> | 45 </script> |
| 46 | 46 |
| 47 <script src="../../js/resources/js-test-post.js"></script> | |
| 48 </body> | 47 </body> |
| 49 </html> | 48 </html> |
| OLD | NEW |