| 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 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 '' |
| 11 PASS computedStyle.font is 'normal normal normal normal 20px / normal sans-serif
' | 11 PASS computedStyle.font is 'normal 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 style.font is '' |
| 14 PASS style.font is 'italic 20px sans-serif' | |
| 15 PASS computedStyle.font is 'italic normal normal normal 20px / normal sans-serif
' | 14 PASS computedStyle.font is 'italic normal normal normal 20px / normal sans-serif
' |
| 16 PASS computedStyle.fontStyle is 'italic' | 15 PASS computedStyle.fontStyle is 'italic' |
| 17 PASS checkFontStyleValue() is true | 16 PASS style.font is '' |
| 18 PASS style.font is 'italic small-caps 20px sans-serif' | |
| 19 PASS computedStyle.font is 'italic small-caps normal normal 20px / normal sans-s
erif' | 17 PASS computedStyle.font is 'italic small-caps normal normal 20px / normal sans-s
erif' |
| 20 PASS computedStyle.fontVariant is 'small-caps' | 18 PASS computedStyle.fontVariant is 'small-caps' |
| 21 PASS checkFontStyleValue() is true | 19 PASS style.font is '' |
| 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-ser
if' | 20 PASS computedStyle.font is 'italic small-caps bold normal 20px / normal sans-ser
if' |
| 24 PASS computedStyle.fontWeight is 'bold' | 21 PASS computedStyle.fontWeight is 'bold' |
| 25 PASS checkFontStyleValue() is true | 22 PASS style.font is '' |
| 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
' | 23 PASS computedStyle.font is 'italic small-caps bold normal 20px / 40px sans-serif
' |
| 28 PASS computedStyle.lineHeight is '40px' | 24 PASS computedStyle.lineHeight is '40px' |
| 25 PASS style.font is 'italic small-caps bold ultra-expanded 20px/40px sans-serif' |
| 26 PASS computedStyle.font is 'italic small-caps bold ultra-expanded 20px / 40px sa
ns-serif' |
| 29 PASS checkFontStyleValue() is true | 27 PASS checkFontStyleValue() is true |
| 30 PASS style.font is '' | 28 PASS style.font is '' |
| 31 PASS computedStyle.font is 'normal normal normal normal 16px / normal foobar' | 29 PASS computedStyle.font is 'normal normal normal normal 16px / normal foobar' |
| 32 PASS checkFontStyleValue() is true | 30 PASS checkFontStyleValue() is true |
| 33 PASS style.font is '' | |
| 34 PASS computedStyle.font is 'normal normal bold normal 16px / normal foobar' | |
| 35 PASS computedStyle.fontWeight is 'bold' | |
| 36 PASS checkFontStyleValue() is true | |
| 37 PASS style.font is 'bold 40px sans-serif' | |
| 38 PASS computedStyle.font is 'normal normal bold normal 40px / normal sans-serif' | |
| 39 PASS computedStyle.fontSize is '40px' | |
| 40 PASS computedStyle.fontFamily is 'sans-serif' | |
| 41 PASS checkFontStyleValue() is true | |
| 42 PASS successfullyParsed is true | 31 PASS successfullyParsed is true |
| 43 | 32 |
| 44 TEST COMPLETE | 33 TEST COMPLETE |
| 45 | 34 |
| OLD | NEW |