4 <script src=
"../../resources/dump-as-markup.js"></script>
5 <div id=
"test" contenteditable
><font size=
"x">hello
</font></div>
8 Markup
.description('This tests applying font size to text inside a font element with an invalid size attribute.\n' +
9 'WebKit should not crash and there should be exactly one font element with size="4"')
10 var test
= document
.getElementById('test');
11 window
.getSelection().selectAllChildren(test
);
12 document
.execCommand('fontSize', false, '4');