Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / apply-font-size-to-multiple-nodes.html
blobdefd61116c8fae301e20380f9cadf8cbf0d03415
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/dump-as-markup.js"></script>
5 </head>
6 <body>
7 <div id="test" contenteditable>
8 A man with 2
9 <span style="font-family: Courier New, Courier">font faces</span><br>
10 Death comes in all
11 <span style="font-size: large">font sizes</span>
12 </div>
13 <script>
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');
21 </script>
22 </body>
23 </html>