CSS Style Attributes Level 1 CR Test Suite

Syntax and Parsing (5 tests)

Test Refs Flags Info
+ 3 Syntax and Parsing
style-01 = The style attribute
style-attr-braces-001 = Invalid Stray closing brace in style attribute
  • A mismatched close brace in a style attribute is treated as an invalid token: it causes that declaration to be dropped, but does not invalidate the whole style rule and does not terminate the style attribute's style data.
style-attr-braces-002 = Invalid Blocks in style attributes
  • Style attribute values are the content of a declaration block: the braces must not be included and are therefore invalid.
style-attr-braces-002-quirks = Invalid Blocks in style attributes in quirks mode
  • Style attribute values are the content of a declaration block: the braces must not be included and are therefore invalid.
style-attr-braces-003 = Invalid Pairing braces in style attributes
  • Braces in a style attribute are treated as an invalid tokens, and must be paired when dropping declarations.