OLD | NEW |
1 Test the return values for the font properties on the style object. | 1 Test the return values for the font properties on the style object. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS style.font is '' | 6 PASS style.font is '' |
7 PASS computedStyle.font is 'normal normal normal normal 20px/normal foobar' | 7 PASS computedStyle.font is 'normal normal normal 20px/normal foobar' |
8 PASS computedStyle.fontSize is '20px' | 8 PASS computedStyle.fontSize is '20px' |
9 PASS checkFontStyleValue() is true | 9 PASS checkFontStyleValue() is true |
10 PASS style.font is '20px sans-serif' | 10 PASS style.font is '20px sans-serif' |
11 PASS computedStyle.font is 'normal normal normal normal 20px/normal sans-serif' | 11 PASS computedStyle.font is 'normal normal normal 20px/normal sans-serif' |
12 PASS computedStyle.fontFamily is 'sans-serif' | 12 PASS computedStyle.fontFamily is 'sans-serif' |
13 PASS checkFontStyleValue() is true | 13 PASS checkFontStyleValue() is true |
14 PASS style.font is 'italic 20px sans-serif' | 14 PASS style.font is 'italic 20px sans-serif' |
15 PASS computedStyle.font is 'italic normal normal normal 20px/normal sans-serif' | 15 PASS computedStyle.font is 'italic normal normal 20px/normal sans-serif' |
16 PASS computedStyle.fontStyle is 'italic' | 16 PASS computedStyle.fontStyle is 'italic' |
17 PASS checkFontStyleValue() is true | 17 PASS checkFontStyleValue() is true |
18 PASS style.font is 'italic small-caps 20px sans-serif' | 18 PASS style.font is 'italic small-caps 20px sans-serif' |
19 PASS computedStyle.font is 'italic small-caps normal normal 20px/normal sans-ser
if' | 19 PASS computedStyle.font is 'italic small-caps normal 20px/normal sans-serif' |
20 PASS computedStyle.fontVariant is 'small-caps' | 20 PASS computedStyle.fontVariant is 'small-caps' |
21 PASS checkFontStyleValue() is true | 21 PASS checkFontStyleValue() is true |
22 PASS style.font is 'italic small-caps bold 20px sans-serif' | 22 PASS style.font is 'italic small-caps bold 20px sans-serif' |
23 PASS computedStyle.font is 'italic small-caps bold normal 20px/normal sans-serif
' | 23 PASS computedStyle.font is 'italic small-caps bold 20px/normal sans-serif' |
24 PASS computedStyle.fontWeight is 'bold' | 24 PASS computedStyle.fontWeight is 'bold' |
25 PASS checkFontStyleValue() is true | 25 PASS checkFontStyleValue() is true |
26 PASS style.font is 'italic small-caps bold 20px/40px sans-serif' | 26 PASS style.font is 'italic small-caps bold 20px/40px sans-serif' |
27 PASS computedStyle.font is 'italic small-caps bold normal 20px/40px sans-serif' | 27 PASS computedStyle.font is 'italic small-caps bold 20px/40px sans-serif' |
28 PASS computedStyle.lineHeight is '40px' | 28 PASS computedStyle.lineHeight is '40px' |
29 PASS checkFontStyleValue() is true | 29 PASS checkFontStyleValue() is true |
30 PASS style.font is '' | 30 PASS style.font is '' |
31 PASS computedStyle.font is 'normal normal normal normal 16px/normal foobar' | 31 PASS computedStyle.font is 'normal normal normal 16px/normal foobar' |
32 PASS checkFontStyleValue() is true | 32 PASS checkFontStyleValue() is true |
33 PASS style.font is '' | 33 PASS style.font is '' |
34 PASS computedStyle.font is 'normal normal bold normal 16px/normal foobar' | 34 PASS computedStyle.font is 'normal normal bold 16px/normal foobar' |
35 PASS computedStyle.fontWeight is 'bold' | 35 PASS computedStyle.fontWeight is 'bold' |
36 PASS checkFontStyleValue() is true | 36 PASS checkFontStyleValue() is true |
37 PASS style.font is 'bold 40px sans-serif' | 37 PASS style.font is 'bold 40px sans-serif' |
38 PASS computedStyle.font is 'normal normal bold normal 40px/normal sans-serif' | 38 PASS computedStyle.font is 'normal normal bold 40px/normal sans-serif' |
39 PASS computedStyle.fontSize is '40px' | 39 PASS computedStyle.fontSize is '40px' |
40 PASS computedStyle.fontFamily is 'sans-serif' | 40 PASS computedStyle.fontFamily is 'sans-serif' |
41 PASS checkFontStyleValue() is true | 41 PASS checkFontStyleValue() is true |
42 PASS successfullyParsed is true | 42 PASS successfullyParsed is true |
43 | 43 |
44 TEST COMPLETE | 44 TEST COMPLETE |
45 | 45 |
OLD | NEW |