CSS 2.2 CR Test Suite

Changes (17 tests)

Test Refs Flags Info
+ C Changes
+ C.1 Changes since the Recommendation of 7 June 2011
height-computed-001 = CSS min-height: min-height does not influence the computed height
  • If the resulting height is smaller than 'min-height', the rules above are applied again, but this time using the value of 'min-height' as the computed value for 'height'. Note: These steps do not affect the real computed value of 'height'.
height-computed-002 = CSS max-height: max-height does not influence the computed height
  • If this tentative height is greater than 'max-height', the rules above are applied again, but this time using the value of 'max-height' as the computed value for 'height'. [...] Note: These steps do not affect the real computed value of 'height'.
height-percentage-004 = inherited percentage height
  • If the resulting height is smaller than 'min-height', the rules above are applied again, but this time using the value of 'min-height' as the computed value for 'height'. Note: These steps do not affect the real computed value of 'height'.
overflow-applies-to-001 = What overflow applies to
  • Name: overflow [...] Applies to: block containers and boxes that establish a formatting context
escaped-url-001 = Escapes in a URI token
  • URI {U}{R}{L}\({w}{string}{w}\)| {U}{R}{L}\({w}([!#$%&*-\[\]-~]|{nonascii}|{escape})*{w}\)
scientific-notation-001 = scientific notation
  • num [+-]?([0-9]+|[0-9]*\.[0-9]+)(e[+-]?[0-9]+)?
malformed-decl-block-001 = Invalid Parsing malformed declaration blocks
  • When the UA expects the start of a declaration or at-rule (i.e., an IDENT token or an ATKEYWORD token) but finds an unexpected token instead, that token is considered to be the first token of a malformed declaration. I.e., the rule for malformed declarations, rather than malformed statements is used to determine which tokens to ignore in that case.
characters-0080-009f-001 = Valid control characters in identifiers
  • identifiers [...] can contain only the characters [a-zA-Z0-9] and ISO 10646 characters U+0080 and higher, [...]
signed-numbers-001 = CSS syntax: signed numbers
  • Both integers and real numbers may immediately be preceded by a "-" or "+" to indicate the sign.
signed-numbers-002 = CSS syntax: signed numbers
  • Both integers and real numbers may immediately be preceded by a "-" or "+" to indicate the sign.
character-encoding-041 = HTTP Stylesheet encodings UTF with a BOM override
  • If rule 1 above (an HTTP "charset" parameter or similar) yields a character encoding and it is one of UTF-8, UTF-16 or UTF-32, then a BOM, if any, at the start of the file overrides that character encoding, as follows: [...]
inherit-computed-001 = CSS cascading: Inherit the computed value
  • Each property may also have a cascaded value of 'inherit', which means that, for a given element, the property takes as specified value the computed value of the element's parent.
inherit-computed-002 = CSS cascading: Inherit the computed value
  • Each property may also have a cascaded value of 'inherit', which means that, for a given element, the property takes as specified value the computed value of the element's parent.
margin-collapse-min-height-001 = CSS margin: Margin collapsing and elements with min-height
  • If the top margin of a box with non-zero computed 'min-height' and 'auto' computed 'height' collapses with the bottom margin of its last in-flow child, then the child's bottom margin does not collapse with the parent's bottom margin.
margin-collapse-min-height-002 = CSS margin: Margin collapsing and elements with min-height
  • If the top margin of a box with non-zero computed 'min-height' and 'auto' computed 'height' collapses with the bottom margin of its last in-flow child, then the child's bottom margin does not collapse with the parent's bottom margin.
inline-formatting-context-001 = Establishing an Inline Formatting Context
  • An inline formatting context is established by a block container box that contains no block-level boxes. In an inline formatting context, boxes are laid out horizontally, one after the other, beginning at the top of a containing block.
fixed-pos-stacking-001 = fixed positioning makes a stacking context
  • auto The stack level of the generated box in the current stacking context is 0. If the box has 'position: fixed' or if it is the root, it also establishes a new stacking context.