CSS Fonts Module Level 4 CR Test Suite

Font Matching Algorithm (11 tests)

Test Refs Flags Info
+ 5 Font Matching Algorithm
at-font-face-font-matching Script Testing @font-face font matching logic introduced in CSS Fonts level 4
fallback-url-to-local Script Test that font fallback from a pending web font to an available local font works.
font-weight-matching Script Testing new font-matching algorithm for font-weight values introduced in CSS Fonts level 4
font-weight-matching-installed-fonts FontScript Testing new font-matching algorithm for font-weight values introduced in CSS Fonts level 4 (for system fonts)
+ 5.1 Localized name matching
+ 5.2 Matching font styles
first-available-font-001 = CSS-fonts: first available font and the ex unit
  • Fonts that do not include the U+0020 character are not considered the first available font (used to determine the ex unit), even when at the start of the font list.
first-available-font-002 = CSS-fonts: first available font and the ch unit
  • Fonts that do not include the U+0020 character are not considered the first available font (used to determine the ch unit), even when at the start of the font list.
first-available-font-003 = CSS-fonts: first available font and the strut
  • The strut, which impacts the line height, is taken from the primary font, which is the first font to include the U+0020 character.
first-available-font-004 = CSS-fonts: first available font and the strut
  • The strut, which impacts the line height, is taken from the primary font, which is the first font to include the U+0020 character. The fact that that font is used somewhere else in the page makes no difference.
first-available-font-005 = baseline position with explicit sizing, no space in first font
  • The position of the baseline in an inline-level box whose height is determined by a non-normal value of line-height does depend on the primary font, which is the first that contains U+0020.
first-available-font-006 = baseline position with explicit sizing, no space in first font
  • The position of the baseline in an inline-level box whose height is determined by a non-normal value of line-height does depend on the primary font, which is the first that contains U+0020.
first-available-font-007 = CSS-fonts: inline level box content height and first available font, missing U+0020
  • The height of the content area of an inline-level depends only on the first available font, which is the first one to include U+0020.
+ 5.3 Cluster matching
+ 5.4 Character handling issues