4 <div id=
"container"><div contenteditable
style=
"font-size: 25px;">WebKit
</div></div>
5 <div id=
"content"><font size=
"7" style=
"font-size: 25px;">hello
</font><font size=
"7" color=
"blue" style=
"font-size: 15px;">world
</font></div>
6 <script src=
"../../resources/dump-as-markup.js"></script>
9 Markup
.description('This tests inserting a font element with both font-size CSS property and size attribute.\n'
10 + 'WebKit should not strip just font-size property. Two instances of "hello world" should look identical to each other.');
12 Markup
.dump('container', 'Insertion point');
14 var content
= document
.getElementById('content');
15 Markup
.dump(content
, 'Content to insert');
17 document
.querySelector('div[contenteditable]').focus();
18 document
.execCommand('InsertHTML', null, content
.innerHTML
);
20 Markup
.dump('container', 'After insertion');