4 <script src=
"../../resources/dump-as-markup.js"></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
);
17 window
.getSelection().setBaseAndExtent(editable
, 0, editable
, 0);
18 document
.execCommand('ForwardDelete', false, false);
19 document
.execCommand('InsertText', false, 'B');
21 Markup
.dump(editable
);