4 <script src=
"../../resources/dump-as-markup.js"></script>
7 <div id=
"test" contenteditable
>
9 <span style=
"font-family: Courier New, Courier">font faces
</span><br>
11 <span style=
"font-size: large">font sizes
</span>
15 var test
= document
.getElementById('test');
16 document
.getSelection().selectAllChildren(test
);
17 document
.execCommand('fontSize', false, 7);
18 Markup
.description('Test that WebKit does not add multiple span or font elements when applying font-size to multiple nodes.')
19 Markup
.dump(test
, 'You should see exactly one font element with size="7" and exactly one span');