Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / font-size-clears-from-typing-style.html
blob526d23a080588981591e8a1df1a2663a791ee4aa
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/dump-as-markup.js"></script>
5 <script>
7 Markup.description("Tests that we don't serialize redundant font-size in typingStyle. There should be no span or style attribute around A or B below."
8 + "See https://bugs.webkit.org/show_bug.cgi?id=26279.");
10 var editable = document.createElement('div');
11 editable.contentEditable = true;
12 editable.innerHTML = '<br><div id="wrapper">A</div>';
14 document.body.appendChild(editable);
15 editable.focus();
17 window.getSelection().setBaseAndExtent(editable, 0, editable, 0);
18 document.execCommand('ForwardDelete', false, false);
19 document.execCommand('InsertText', false, 'B');
21 Markup.dump(editable);
23 </script>
24 </body>
25 </html>