Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / remove-styled-element-with-style-span.html
blob67d48de60fa8661e25e229eba3dfd3cc3495c1b3
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>
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.');
11 var test = document.getElementById('test');
12 test.focus();
13 document.execCommand('SelectAll', false, null);
14 document.execCommand('Italic', false, null);
16 Markup.dump(test);
18 </script>
19 </body>
20 </html>