CSS Fonts Module Level 4 CR Test Suite

Basic Font Properties (25 tests)

Test Refs Flags Info
+ 2 Basic Font Properties
+ 2.1 Font family: the font-family property
font-family-serialization-001 Script Serialization of font-family
+ 2.1.1 Syntax of
generic-family-keywords-001 Script Test generic family keywords matching for @font-face
+ 2.1.2 Relationship Between Faces and Families
+ 2.1.3 Generic font families
generic-family-keywords-002 Script Generic font family: -webkit-* treated as <font-family>
+ 2.2 Font weight: the font-weight property
font-weight-interpolation Script Testing the interpolation of new font-weight values introduced in CSS Fonts level 4
font-weight-lighter-bolder Script Testing new font-weight lighter/bolder table introduced in CSS Fonts level 4
font-weight-parsing Script Testing the new font-weight values introduced in CSS Fonts level 4
+ 2.2.1 Relative Weights
+ 2.2.2 Missing weights
+ 2.3 Font width: the font-stretch property
font-stretch Script Testing new font-stretch values introduced in CSS Fonts level 4
font-stretch-computed Script CSS Fonts Module Level 4: getComputedStyle().fontStretch
  • font-stretch computed value is a percentage.
font-stretch-invalid Script CSS Fonts Module Level 4: parsing font-stretch with invalid values
  • font-stretch supports only the grammar 'normal | <percentage> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded'.
  • Values less than 0% are invalid.
font-stretch-valid Script CSS Fonts Module Level 4: parsing font-stretch with valid values
  • font-stretch supports the full grammar 'normal | <percentage> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded'.
+ 2.4 Font style: the font-style property
font-style-angle Script Testing font-style angle's unit type consideration
font-style-interpolation Script Testing the interpolation of new font-style values introduced in CSS Fonts level 4
font-style-parsing Script Testing the new font-style values introduced in CSS Fonts level 4
+ 2.5 Font size: the font-size property
font-size-computed Script CSS Fonts Module Level 4: getComputedStyle().fontSize
  • font-size computed value is an absolute length.
font-size-relative-across-calc-ff-bug-001 Script
font-size-valid Script CSS Fonts Module Level 4: parsing font-size with valid values
  • font-size supports the full grammar '<absolute-size> | <relative-size> | <length-percentage>'.
font-weight-xxx-large = font-size: xxx-large; size equivalence
rem-in-monospace =
+ 2.5.1 Absolute Size Keyword Mapping Table
font-weight-xxx-large = font-size: xxx-large; size equivalence
+ 2.6 Relative sizing: the font-size-adjust property
+ 2.7 Shorthand font property: the font property
font-148 = Font shorthand using calc() value for font-size
  • The 'font' shorthand property accepts and sets font-variant, font-size and font-family.
font-computed Script CSS Fonts Module Level 4: getComputedStyle().font
  • font computed value round-trips.
font-invalid Script CSS Fonts Module Level 4: parsing font with invalid values
  • font supports only the grammar '[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-stretch-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar'.
font-shorthand Script Testing font shorthand for new values introduced in CSS Fonts level 4
font-valid Script CSS Fonts Module Level 4: parsing font with valid values
  • font supports the full grammar '[ [ <'font-style'> || <font-variant-css2> || <'font-weight'> || <font-stretch-css3> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar'.
font-shorthand-serialization-001 Script font shorthand serialization
font-shorthand-serialization-font-stretch Script font shorthand serialization with font-stretch values
+ 2.8 Controlling synthetic faces
+ 2.8.1 Controlling synthesized bold: The font-synthesis-weight property
+ 2.8.2 Controlling synthesized oblique: The font-synthesis-style property
+ 2.8.3 Controlling synthesized small caps: The font-synthesis-small-caps property
+ 2.8.4 Controlling synthetic faces: the font-synthesis shorthand