1 test html queryCommandValue result
2 execCommand('FontSize', -2) <font size="1">test</font> 1
3 execCommand('FontSize', -1) <font size="2">test</font> 2
4 execCommand('FontSize', 0) <font size="1">test</font> 1
5 execCommand('FontSize', 1) <font size="1">test</font> 1
6 execCommand('FontSize', 2) <font size="2">test</font> 2
7 execCommand('FontSize', 3) test 3
8 execCommand('FontSize', 4) <font size="4">test</font> 4
9 execCommand('FontSize', 5) <font size="5">test</font> 5
10 execCommand('FontSize', 6) <font size="6">test</font> 6
11 execCommand('FontSize', 7) <font size="7">test</font> 7
12 execCommand('FontSize', '8px') <font size="7">test</font> 7
13 execCommand('FontSize', '2px') <font size="2">test</font> 2
14 manual CSS font-size: 3px <span style="font-size: 3px">test</span> 1
15 manual CSS font-size: 0.2em <span style="font-size: 0.2em">test</span> 1
16 manual CSS font-size: 17px <span style="font-size: 17px">test</span> 4
17 manual CSS font-size: 31px <span style="font-size: 31px">test</span> 6
18 manual CSS font-size: 50px <span style="font-size: 50px">test</span> 7
19 manual CSS font-size: 5em <span style="font-size: 5em">test</span> 7
20 manual CSS font-size: 10px <span style="font-size: 10px">test</span> 1
21 monospace tests to ensure the bug 19161 does not affect queryCommandValue's values
22 execCommand('FontSize', -2) <font size="1" face="monospace">test</font> 1
23 execCommand('FontSize', -1) <font size="2" face="monospace">test</font> 2
24 execCommand('FontSize', 0) <font size="1" face="monospace">test</font> 1
25 execCommand('FontSize', 1) <font size="1" face="monospace">test</font> 1
26 execCommand('FontSize', 2) <font size="2" face="monospace">test</font> 2
27 execCommand('FontSize', 3) <font face="monospace">test</font> 3
28 execCommand('FontSize', 4) <font size="4" face="monospace">test</font> 4
29 execCommand('FontSize', 5) <font size="5" face="monospace">test</font> 5
30 execCommand('FontSize', 6) <font size="6" face="monospace">test</font> 6
31 execCommand('FontSize', 7) <font size="7" face="monospace">test</font> 7