CSS Style Attributes Level 1 CR Test Suite

Cascading and Interpretation (11 tests)

Test Refs Flags Info
+ 4 Cascading and Interpretation
style-attr-cascade-001 = CSS: style attributes vs. important tag selector
style-attr-cascade-002 = CSS: style attribute (normal vs. important)
style-attr-cascade-003 = CSS: style attribute vs. tag selector
style-attr-cascade-004 = CSS: style attribute vs. important tag selectors
style-attr-cascade-005 = CSS: style attribute vs. tag selectors (interleaved importance)
style-attr-cascade-006 = CSS: style attribute and 'inherit'
style-attr-cascade-007 = Bitmaps Style Attribute Inheritance
  • Iff a property inherits, it also inherits when declared via style attribute.
style-attr-specificity-001 = Style attribute and specificity of selectors
  • The style attribute has a higher specificity than any other selector.
style-attr-specificity-002 = Inline styles vs. 101 ID selectors
  • The style attribute has a higher specificity than all selectors, including ID selectors no matter how many.
style-attr-urls-001 = Bitmaps URLs in style attributes
  • In the absence of any base URL manipulation, URLs in style attributes are relative to the document.
style-attr-urls-002 = Bitmaps URLs in style attributes (with <base>)
  • In the presence of <base> URL manipulation, URLs in style attributes are relative to the specified base.