4 <style type=
"text/css">
5 .MultipleTextDecorations {
6 text-decoration: underline overline line-through
;
11 <div id=
"test" contenteditable=
"true">
13 <span id=
"spanToMerge" class=
"MultipleTextDecorations">bar
</span>
15 <script src=
"../../resources/dump-as-markup.js"></script>
17 Markup
.description('The span style should be preserved when merging a pragraph.\n'
18 + 'The test passes if the "bar" has underline, overline and line through.');
20 var spanToMerge
= document
.getElementById("spanToMerge");
22 getSelection().collapse(spanToMerge
, 0);
23 document
.execCommand("Delete");
24 Markup
.dump(document
.getElementById("test"));