OLD | NEW |
1 <head> | 1 <head> |
2 <style> | 2 <style> |
3 p.listStyle:before { | 3 p.listStyle:before { |
4 content: "\25cf"; | 4 content: "\25cf"; |
5 margin-right: 18pt; | 5 margin-right: 18pt; |
6 } | 6 } |
7 </style> | 7 </style> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <div id="container"> | 10 <div id="container"> |
(...skipping 12 matching lines...) Expand all Loading... |
23 range.selectNode(sample.firstChild); | 23 range.selectNode(sample.firstChild); |
24 var selection = window.getSelection(); | 24 var selection = window.getSelection(); |
25 selection.removeAllRanges(); | 25 selection.removeAllRanges(); |
26 selection.addRange(range); | 26 selection.addRange(range); |
27 document.execCommand('Delete'); | 27 document.execCommand('Delete'); |
28 shouldBeEqualToString('sample.outerHTML', '<p class="listStyle"><br id="two"></p
>'); | 28 shouldBeEqualToString('sample.outerHTML', '<p class="listStyle"><br id="two"></p
>'); |
29 | 29 |
30 if (window.testRunner) | 30 if (window.testRunner) |
31 $('container').outerHTML = ''; | 31 $('container').outerHTML = ''; |
32 </script> | 32 </script> |
33 <script src="../../fast/js/resources/js-test-post.js"></script> | |
34 </body> | 33 </body> |
OLD | NEW |