[WK2] Small Caps font variant issue for Italic fonts
[framework/web/webkit-efl.git] / LayoutTests / editing / style / remove-styled-element-with-style-span.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="test" contenteditable>hello <em class="Apple-style-span">world</em> WebKit</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>