This test exercises the 'font' shorthand property in CSS computed styles. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". FAIL computedFont('10px sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFont('10px sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFont('10px SANS-SERIF') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. PASS computedFont('12px sans-serif') is 'normal normal normal 12px/14px sans-serif' PASS computedFont('12px sans-serif') is 'normal normal normal 12px/14px sans-serif' FAIL computedFont('10px sans-serif, sans-serif') should be normal normal normal 10px/12px sans-serif, sans-serif. Was normal normal normal 10px/11px sans-serif, sans-serif. FAIL computedFont('10px sans-serif, serif') should be normal normal normal 10px/12px sans-serif, serif. Was normal normal normal 10px/11px sans-serif, serif. PASS computedFont('12px ahem') is 'normal normal normal 12px/12px ahem' PASS computedFont('12px unlikely-font-name') is 'normal normal normal 12px/14px unlikely-font-name' FAIL computedFont('100 10px sans-serif') should be normal normal 100 10px/12px sans-serif. Was normal normal 100 10px/11px sans-serif. FAIL computedFont('200 10px sans-serif') should be normal normal 200 10px/12px sans-serif. Was normal normal 200 10px/11px sans-serif. FAIL computedFont('300 10px sans-serif') should be normal normal 300 10px/12px sans-serif. Was normal normal 300 10px/11px sans-serif. FAIL computedFont('400 10px sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFont('normal 10px sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFont('500 10px sans-serif') should be normal normal 500 10px/12px sans-serif. Was normal normal 500 10px/11px sans-serif. FAIL computedFont('600 10px sans-serif') should be normal normal 600 10px/12px sans-serif. Was normal normal 600 10px/11px sans-serif. FAIL computedFont('700 10px sans-serif') should be normal normal bold 10px/12px sans-serif. Was normal normal bold 10px/11px sans-serif. FAIL computedFont('bold 10px sans-serif') should be normal normal bold 10px/12px sans-serif. Was normal normal bold 10px/11px sans-serif. FAIL computedFont('800 10px sans-serif') should be normal normal 800 10px/12px sans-serif. Was normal normal 800 10px/11px sans-serif. FAIL computedFont('900 10px sans-serif') should be normal normal 900 10px/12px sans-serif. Was normal normal 900 10px/11px sans-serif. FAIL computedFont('italic 10px sans-serif') should be italic normal normal 10px/12px sans-serif. Was italic normal normal 10px/11px sans-serif. FAIL computedFont('small-caps 10px sans-serif') should be normal small-caps normal 10px/12px sans-serif. Was normal small-caps normal 10px/11px sans-serif. FAIL computedFont('italic small-caps 10px sans-serif') should be italic small-caps normal 10px/12px sans-serif. Was italic small-caps normal 10px/11px sans-serif. FAIL computedFont('italic small-caps bold 10px sans-serif') should be italic small-caps bold 10px/12px sans-serif. Was italic small-caps bold 10px/11px sans-serif. PASS computedFont('10px/100% sans-serif') is 'normal normal normal 10px/10px sans-serif' PASS computedFont('10px/100px sans-serif') is 'normal normal normal 10px/100px sans-serif' FAIL computedFont('10px/normal sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFont('10px/normal sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFontCSSValue('10px sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFontCSSValue('10px sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFontCSSValue('10px SANS-SERIF') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. PASS computedFontCSSValue('12px sans-serif') is 'normal normal normal 12px/14px sans-serif' PASS computedFontCSSValue('12px sans-serif') is 'normal normal normal 12px/14px sans-serif' FAIL computedFontCSSValue('10px sans-serif, sans-serif') should be normal normal normal 10px/12px sans-serif, sans-serif. Was normal normal normal 10px/11px sans-serif, sans-serif. FAIL computedFontCSSValue('10px sans-serif, serif') should be normal normal normal 10px/12px sans-serif, serif. Was normal normal normal 10px/11px sans-serif, serif. PASS computedFontCSSValue('12px ahem') is 'normal normal normal 12px/12px ahem' PASS computedFontCSSValue('12px unlikely-font-name') is 'normal normal normal 12px/14px unlikely-font-name' FAIL computedFontCSSValue('100 10px sans-serif') should be normal normal 100 10px/12px sans-serif. Was normal normal 100 10px/11px sans-serif. FAIL computedFontCSSValue('200 10px sans-serif') should be normal normal 200 10px/12px sans-serif. Was normal normal 200 10px/11px sans-serif. FAIL computedFontCSSValue('300 10px sans-serif') should be normal normal 300 10px/12px sans-serif. Was normal normal 300 10px/11px sans-serif. FAIL computedFontCSSValue('400 10px sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFontCSSValue('normal 10px sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFontCSSValue('500 10px sans-serif') should be normal normal 500 10px/12px sans-serif. Was normal normal 500 10px/11px sans-serif. FAIL computedFontCSSValue('600 10px sans-serif') should be normal normal 600 10px/12px sans-serif. Was normal normal 600 10px/11px sans-serif. FAIL computedFontCSSValue('700 10px sans-serif') should be normal normal bold 10px/12px sans-serif. Was normal normal bold 10px/11px sans-serif. FAIL computedFontCSSValue('bold 10px sans-serif') should be normal normal bold 10px/12px sans-serif. Was normal normal bold 10px/11px sans-serif. FAIL computedFontCSSValue('800 10px sans-serif') should be normal normal 800 10px/12px sans-serif. Was normal normal 800 10px/11px sans-serif. FAIL computedFontCSSValue('900 10px sans-serif') should be normal normal 900 10px/12px sans-serif. Was normal normal 900 10px/11px sans-serif. FAIL computedFontCSSValue('italic 10px sans-serif') should be italic normal normal 10px/12px sans-serif. Was italic normal normal 10px/11px sans-serif. FAIL computedFontCSSValue('small-caps 10px sans-serif') should be normal small-caps normal 10px/12px sans-serif. Was normal small-caps normal 10px/11px sans-serif. FAIL computedFontCSSValue('italic small-caps 10px sans-serif') should be italic small-caps normal 10px/12px sans-serif. Was italic small-caps normal 10px/11px sans-serif. FAIL computedFontCSSValue('italic small-caps bold 10px sans-serif') should be italic small-caps bold 10px/12px sans-serif. Was italic small-caps bold 10px/11px sans-serif. PASS computedFontCSSValue('10px/100% sans-serif') is 'normal normal normal 10px/10px sans-serif' PASS computedFontCSSValue('10px/100px sans-serif') is 'normal normal normal 10px/100px sans-serif' FAIL computedFontCSSValue('10px/normal sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. FAIL computedFontCSSValue('10px/normal sans-serif') should be normal normal normal 10px/12px sans-serif. Was normal normal normal 10px/11px sans-serif. PASS successfullyParsed is true TEST COMPLETE