4 <div id=
"container" contenteditable=
"true"></div>
5 <div id=
"content"><span style=
"font-weight: lighter;">hello
</span><span style=
"font-weight: bolder;">world
</span></div>
6 <script src=
"../../resources/dump-as-markup.js"></script>
8 Markup
.description('This tests inserting elements with font-weight set to lighter and bolder values');
10 var content
= document
.getElementById('content');
11 Markup
.dump(content
, 'Content to insert');
13 document
.querySelector('div[contenteditable]').focus();
14 document
.execCommand('InsertHTML', null, content
.innerHTML
);
16 Markup
.dump('container', 'After insertion');