CSS Fonts Module Level 4 CR Test Suite

Font Feature Properties (30 tests)

Test Refs Flags Info
+ 6 Font Feature Properties
+ 6.1 Glyph selection and positioning
+ 6.2 Language-specific display
writing-system-font-001 = font selection and writing sytem
  • An explicit writing system takes precedence over the content language for font selection
+ 6.3 Kerning: the font-kerning property
+ 6.4 Ligatures: the font-variant-ligatures property
+ 6.5 Subscript and superscript forms: the font-variant-position property
+ 6.6 Capitalization: the font-variant-caps property
+ 6.7 Numerical formatting: the font-variant-numeric property
+ 6.8 Alternates and swashes: the font-variant-alternates property
alternates-order = feature value matching for font-variant-alternates
  • Case and order of font family name or feature name should not affect alternate rendered
font-variant-alternates-01 = font-variant-alternates: normal; low level equivalence
  • None of the features listed below are enabled.
font-variant-alternates-02 = font-variant-alternates: historical-forms; low level equivalence
  • Enables display of historical forms (OpenType feature: hist)
font-variant-alternates-03 = font-variant-alternates: stylistic(); low level equivalence
  • Enables display of stylistic alternates (font specific, OpenType feature: salt <feature-index>)
font-variant-alternates-04 = font-variant-alternates: stylistic(); low level equivalence
  • Enables display of stylistic alternates (font specific, OpenType feature: salt <feature-index>)
font-variant-alternates-05 = font-variant-alternates: stylistic(); low level equivalence
  • Enables display of stylistic alternates (font specific, OpenType feature: salt <feature-index>)
font-variant-alternates-06 = font-variant-alternates: styleset(); low level equivalence
  • Enables display with stylistic sets (font specific, OpenType feature: ss<feature-index>
font-variant-alternates-07 = font-variant-alternates: styleset(); low level equivalence
  • Enables display with stylistic sets (font specific, OpenType feature: ss<feature-index>
font-variant-alternates-08 = font-variant-alternates: styleset(); low level equivalence
  • Enables display with stylistic sets (font specific, OpenType feature: ss<feature-index>
font-variant-alternates-09 = font-variant-alternates: character-variant(); low level equivalence
  • Enables display of specific character variants (font specific, OpenType feature: cv<feature-index>
font-variant-alternates-10 = font-variant-alternates: character-variant(); low level equivalence
  • Enables display of specific character variants (font specific, OpenType feature: cv<feature-index>
font-variant-alternates-11 = font-variant-alternates: character-variant(); low level equivalence
  • Enables display of specific character variants (font specific, OpenType feature: cv<feature-index>
font-variant-alternates-12 = font-variant-alternates: swash(); low level equivalence
  • Enables display of swash glyphs (font specific, OpenType feature: swsh <feature-index>, cswh <feature-index>).
font-variant-alternates-13 = font-variant-alternates: swash(); low level equivalence
  • Enables display of swash glyphs (font specific, OpenType feature: swsh <feature-index>, cswh <feature-index>).
font-variant-alternates-14 = font-variant-alternates: swash(); low level equivalence
  • Enables display of swash glyphs (font specific, OpenType feature: swsh <feature-index>, cswh <feature-index>).
font-variant-alternates-15 = font-variant-alternates: ornaments(); low level equivalence
  • Enables replacement of default glyphs with ornaments, if provided in the font (font specific, OpenType feature: ornm <feature-index>).
font-variant-alternates-16 = font-variant-alternates: ornaments(); low level equivalence
  • Enables replacement of default glyphs with ornaments, if provided in the font (font specific, OpenType feature: ornm <feature-index>).
font-variant-alternates-17 = font-variant-alternates: ornaments(); low level equivalence
  • Enables replacement of default glyphs with ornaments, if provided in the font (font specific, OpenType feature: ornm <feature-index>).
font-variant-alternates-18 = font-variant-alternates: ornaments(); low level equivalence
  • Enables display of alternate annotation forms (font specific, OpenType feature: nalt <feature-index>).
font-variant-alternates-parsing Script font-variant-alternates: historical-forms; parses case-insensitively
+ 6.9 Defining font specific alternates: the @font-feature-values rule
alternates-order = feature value matching for font-variant-alternates
  • Case and order of font family name or feature name should not affect alternate rendered
test_font_feature_values_parsing Script @font-feature-values rule parsing tests
  • tests that valid @font-feature-values rules parse and invalid ones don't
+ 6.9.1 Basic syntax
+ 6.9.2 Multi-valued feature value definitions
+ 6.10 East Asian text rendering: the font-variant-east-asian property
+ 6.11 Overall shorthand for font rendering: the font-variant property
font-variant-05 = font-variant descriptor in @font-face rule is overriden by equivalent style rules
  • Setting &#8216;font-variant-ligatures&#8217; properties will override the same properties set in the @font-face rule. But properties set there and not explicitly turned off or on later remain set.
font-variant-descriptor-01 = font-variant: normal; low level equivalence
  • These descriptors define initial settings that apply when the font defined by an @font-face rule is rendered
font-variant-invalid Script CSS Fonts Module Level 4: parsing font-variant with invalid values
  • font-variant supports only the grammar 'normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby || [ sub | super ] ]'.
font-variant-valid Script CSS Fonts Module Level 4: parsing font-variant with valid values
  • font-variant supports the full grammar 'normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby || [ sub | super ] ]'.
+ 6.12 Low-level font feature settings control: the font-feature-settings property
calc-rounds-to-integer Script Calc rounds to integer
font-variant-05 = font-variant descriptor in @font-face rule is overriden by equivalent style rules
  • Setting &#8216;font-variant-ligatures&#8217; properties will override the same properties set in the @font-face rule. But properties set there and not explicitly turned off or on later remain set.
font-variant-alternates-01 = font-variant-alternates: normal; low level equivalence
  • None of the features listed below are enabled.
font-variant-alternates-02 = font-variant-alternates: historical-forms; low level equivalence
  • Enables display of historical forms (OpenType feature: hist)
font-variant-alternates-03 = font-variant-alternates: stylistic(); low level equivalence
  • Enables display of stylistic alternates (font specific, OpenType feature: salt <feature-index>)
font-variant-alternates-04 = font-variant-alternates: stylistic(); low level equivalence
  • Enables display of stylistic alternates (font specific, OpenType feature: salt <feature-index>)
font-variant-alternates-05 = font-variant-alternates: stylistic(); low level equivalence
  • Enables display of stylistic alternates (font specific, OpenType feature: salt <feature-index>)
font-variant-alternates-06 = font-variant-alternates: styleset(); low level equivalence
  • Enables display with stylistic sets (font specific, OpenType feature: ss<feature-index>
font-variant-alternates-07 = font-variant-alternates: styleset(); low level equivalence
  • Enables display with stylistic sets (font specific, OpenType feature: ss<feature-index>
font-variant-alternates-08 = font-variant-alternates: styleset(); low level equivalence
  • Enables display with stylistic sets (font specific, OpenType feature: ss<feature-index>
font-variant-alternates-09 = font-variant-alternates: character-variant(); low level equivalence
  • Enables display of specific character variants (font specific, OpenType feature: cv<feature-index>
font-variant-alternates-10 = font-variant-alternates: character-variant(); low level equivalence
  • Enables display of specific character variants (font specific, OpenType feature: cv<feature-index>
font-variant-alternates-11 = font-variant-alternates: character-variant(); low level equivalence
  • Enables display of specific character variants (font specific, OpenType feature: cv<feature-index>
font-variant-alternates-12 = font-variant-alternates: swash(); low level equivalence
  • Enables display of swash glyphs (font specific, OpenType feature: swsh <feature-index>, cswh <feature-index>).
font-variant-alternates-13 = font-variant-alternates: swash(); low level equivalence
  • Enables display of swash glyphs (font specific, OpenType feature: swsh <feature-index>, cswh <feature-index>).
font-variant-alternates-14 = font-variant-alternates: swash(); low level equivalence
  • Enables display of swash glyphs (font specific, OpenType feature: swsh <feature-index>, cswh <feature-index>).
font-variant-alternates-15 = font-variant-alternates: ornaments(); low level equivalence
  • Enables replacement of default glyphs with ornaments, if provided in the font (font specific, OpenType feature: ornm <feature-index>).
font-variant-alternates-16 = font-variant-alternates: ornaments(); low level equivalence
  • Enables replacement of default glyphs with ornaments, if provided in the font (font specific, OpenType feature: ornm <feature-index>).
font-variant-alternates-17 = font-variant-alternates: ornaments(); low level equivalence
  • Enables replacement of default glyphs with ornaments, if provided in the font (font specific, OpenType feature: ornm <feature-index>).
font-variant-alternates-18 = font-variant-alternates: ornaments(); low level equivalence
  • Enables display of alternate annotation forms (font specific, OpenType feature: nalt <feature-index>).
font-variant-descriptor-01 = font-variant: normal; low level equivalence
  • These descriptors define initial settings that apply when the font defined by an @font-face rule is rendered
+ 6.13 Font language override: the font-language-override property
font-language-override-computed Script CSS Fonts Module Level 4: getComputedStyle().fontLanguageOverride
  • font-language-override computed value is as specified.
font-language-override-invalid Script CSS Fonts Module Level 4: parsing font-language-override with invalid values
  • font-language-override supports only the grammar 'normal | <string>'.
  • font-language-override string has three letters.
font-language-override-valid Script CSS Fonts Module Level 4: parsing font-language-override with valid values
  • font-language-override supports the full grammar 'normal | <string>'.