OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <body> | |
4 <div id="test" contenteditable>hello <em class="Apple-style-span">world</em> Web
Kit</div> | |
5 <script src="../../resources/dump-as-markup.js"></script> | |
6 <script> | |
7 | |
8 Markup.description('This test ensures WebKit removes implicitly styled elements
even if they had class="Apple-style-span".' | |
9 + ' There should be no span below.'); | |
10 | |
11 var test = document.getElementById('test'); | |
12 test.focus(); | |
13 document.execCommand('SelectAll', false, null); | |
14 document.execCommand('Italic', false, null); | |
15 | |
16 Markup.dump(test); | |
17 | |
18 </script> | |
19 </body> | |
20 </html> | |
OLD | NEW |