4 <style type=
"text/css">
12 <div id=
"test" contenteditable=
"true">
14 <div id=
"divToMerge" class=
"styleToMerge" style=
"color:green;font-size:20px">bar
</div>
16 <script src=
"../../resources/dump-as-markup.js"></script>
18 Markup
.description('The inline style should be applied when merging div element.\n'
19 + 'The test passes if "bar" has the green color and 20px font-size.');
21 var divToMerge
= document
.getElementById("divToMerge");
23 getSelection().collapse(divToMerge
, 0);
24 document
.execCommand("Delete");
25 Markup
.dump(document
.getElementById("test"));