WARNING. This page assumes that you have set your settings to a resolution of 96ppi and a font size of 16px. If this is the case, the following three boxes will be the same size:

font-style

sc2p073.html

Description Pass Bug Number Actual Result Expected Result
(control: check for document.styleSheets before using it) failedn/a [object StyleSheetList] [xpconnect wrapped StyleSheetList]
(control: check for document.styleSheets[0] before using it) failedn/a [object CSSStyleSheet] [xpconnect wrapped CSSStyleSheet]
(control: check for document.styleSheets[0].cssRules before using it) failedn/a [object CSSRuleList] [xpconnect wrapped CSSRuleList]
(control: check for document.styleSheets[0].cssRules[0] before using it) failedn/a [object CSSStyleRule] [xpconnect wrapped CSSStyleRule]
(control: check for document.styleSheets[0].cssRules[0].style before using it) failedn/a [object CSSStyleDeclaration] [xpconnect wrapped CSS2Properties]
(control: check for document.styleSheets[0].cssRules[0].style.getPropertyValue before using it) failedn/a function getPropertyValue() { [native code] } function getPropertyValue() { [native code] }
(control: check for document.defaultView before using it) failedn/a [object Window] [xpconnect wrapped Window]
(control: check for document.defaultView.getComputedStyle before using it) failedn/a function getComputedStyle() { [native code] } function getComputedStyle() { [native code] }
(control: check for document.getElementById before using it) failedn/a function getElementById() { [native code] } function getElementById() { [native code] }
'normal': CSSStyleRule.style (0) passed normal normal
'normal': CSSFontFaceRule.style (0) passed normal normal
'normal': CSSPageRule.style (0) passed normal normal
'normal': ElementCSSInlineStyle.style (0) passed normal normal
'normal': ViewCSS.getComputedStyle (0) passed normal normal
'normal': getPropertyValue equivalence for CSSStyleRule.style (0) passed true true
'normal': getPropertyValue equivalence for CSSFontFaceRule.style (0) passed true true
'normal': getPropertyValue equivalence for CSSPageRule.style (0) passed true true
'normal': getPropertyValue equivalence for ElementCSSInlineStyle.style (0) passed true true
'normal': getPropertyValue equivalence for ViewCSS.getComputedStyle (0) passed true true
'italic': CSSStyleRule.style (1) passed italic italic
'italic': CSSFontFaceRule.style (1) passed italic italic
'italic': CSSPageRule.style (1) passed italic italic
'italic': ElementCSSInlineStyle.style (1) passed italic italic
'italic': ViewCSS.getComputedStyle (1) passed italic italic
'italic': getPropertyValue equivalence for CSSStyleRule.style (1) passed true true
'italic': getPropertyValue equivalence for CSSFontFaceRule.style (1) passed true true
'italic': getPropertyValue equivalence for CSSPageRule.style (1) passed true true
'italic': getPropertyValue equivalence for ElementCSSInlineStyle.style (1) passed true true
'italic': getPropertyValue equivalence for ViewCSS.getComputedStyle (1) passed true true
'oblique': CSSStyleRule.style (2) passed oblique oblique
'oblique': CSSFontFaceRule.style (2) passed oblique oblique
'oblique': CSSPageRule.style (2) passed oblique oblique
'oblique': ElementCSSInlineStyle.style (2) passed oblique oblique
'oblique': ViewCSS.getComputedStyle (2) failedn/a italic oblique
'oblique': getPropertyValue equivalence for CSSStyleRule.style (2) passed true true
'oblique': getPropertyValue equivalence for CSSFontFaceRule.style (2) passed true true
'oblique': getPropertyValue equivalence for CSSPageRule.style (2) passed true true
'oblique': getPropertyValue equivalence for ElementCSSInlineStyle.style (2) passed true true
'oblique': getPropertyValue equivalence for ViewCSS.getComputedStyle (2) passed true true
'\INHERI\T': CSSStyleRule.style (3) passed inherit inherit
'\INHERI\T': CSSFontFaceRule.style (3) failedn/a inherit
'\INHERI\T': CSSPageRule.style (3) passed inherit inherit
'\INHERI\T': ElementCSSInlineStyle.style (3) passed inherit inherit
'\INHERI\T': ViewCSS.getComputedStyle (3) passed normal normal
'\INHERI\T': getPropertyValue equivalence for CSSStyleRule.style (3) passed true true
'\INHERI\T': getPropertyValue equivalence for CSSFontFaceRule.style (3) passed true true
'\INHERI\T': getPropertyValue equivalence for CSSPageRule.style (3) passed true true
'\INHERI\T': getPropertyValue equivalence for ElementCSSInlineStyle.style (3) passed true true
'\INHERI\T': getPropertyValue equivalence for ViewCSS.getComputedStyle (3) passed true true
'inherit': CSSStyleRule.style (4) passed inherit inherit
'inherit': CSSFontFaceRule.style (4) failedn/a inherit
'inherit': CSSPageRule.style (4) passed inherit inherit
'inherit': ElementCSSInlineStyle.style (4) passed inherit inherit
'inherit': ViewCSS.getComputedStyle (4) passed normal normal
'inherit': getPropertyValue equivalence for CSSStyleRule.style (4) passed true true
'inherit': getPropertyValue equivalence for CSSFontFaceRule.style (4) passed true true
'inherit': getPropertyValue equivalence for CSSPageRule.style (4) passed true true
'inherit': getPropertyValue equivalence for ElementCSSInlineStyle.style (4) passed true true
'inherit': getPropertyValue equivalence for ViewCSS.getComputedStyle (4) passed true true
'': CSSStyleRule.style (5) passed
'': CSSFontFaceRule.style (5) passed
'': CSSPageRule.style (5) passed
'': ElementCSSInlineStyle.style (5) passed
'': ViewCSS.getComputedStyle (5) passed normal normal
'': getPropertyValue equivalence for CSSStyleRule.style (5) passed true true
'': getPropertyValue equivalence for CSSFontFaceRule.style (5) passed true true
'': getPropertyValue equivalence for CSSPageRule.style (5) passed true true
'': getPropertyValue equivalence for ElementCSSInlineStyle.style (5) passed true true
'': getPropertyValue equivalence for ViewCSS.getComputedStyle (5) passed true true
'45deg': CSSStyleRule.style (6) passed
'45deg': CSSFontFaceRule.style (6) passed
'45deg': CSSPageRule.style (6) passed
'45deg': ElementCSSInlineStyle.style (6) passed
'45deg': ViewCSS.getComputedStyle (6) passed normal normal
'45deg': getPropertyValue equivalence for CSSStyleRule.style (6) passed true true
'45deg': getPropertyValue equivalence for CSSFontFaceRule.style (6) passed true true
'45deg': getPropertyValue equivalence for CSSPageRule.style (6) passed true true
'45deg': getPropertyValue equivalence for ElementCSSInlineStyle.style (6) passed true true
'45deg': getPropertyValue equivalence for ViewCSS.getComputedStyle (6) passed true true