+
6.4 Ligatures: the font-variant-ligatures property |
font-features-across-space-1 |
= |
|
ligatures should match across spaces
- Ligature features should be handled across spaces with font-feature-settings
|
font-features-across-space-2 |
= |
|
ligatures should match across spaces
- Ligature features should be handled across spaces with font-variant-ligatures
|
font-features-across-space-3 |
= |
|
ligatures should match across spaces
- Ligature features should be handled across spaces with interacting font feature properties
|
font-variant-ligatures |
= |
|
feature value matching for font-variant-ligatures
- Values of font-variant-ligatures should enable specific features without enabling others
|
font-variant-ligatures-01 |
= |
|
font-variant-ligatures: normal; low level equivalence
- common ligatures and contextual forms are on by default, discretionary and historical ligatures are not
|
font-variant-ligatures-02 |
= |
|
font-variant-ligatures: none; low level equivalence
- all types of ligatures and contextual forms covered by this property are explicitly disabled
|
font-variant-ligatures-03 |
= |
|
font-variant-ligatures: common-ligatures; low level equivalence
- Enables display of common ligatures (OpenType features: liga, clig)
|
font-variant-ligatures-04 |
= |
|
font-variant-ligatures: no-common-ligatures; low level equivalence
- Disables display of common ligatures (OpenType features: liga, clig)
|
font-variant-ligatures-05 |
= |
|
font-variant-ligatures: discretionary-ligatures; low level equivalence
- Enables display of discretionary ligatures (OpenType feature: dlig)
|
font-variant-ligatures-06 |
= |
|
font-variant-ligatures: no-discretionary-ligatures; low level equivalence
- Disables display of discretionary ligatures (OpenType feature: dlig)
|
font-variant-ligatures-07 |
= |
|
font-variant-ligatures: historical-ligatures; low level equivalence
- Enables display of historical ligatures (OpenType feature: hlig)
|
font-variant-ligatures-08 |
= |
|
font-variant-ligatures: no-historical-ligatures; low level equivalence
- Disables display of historical ligatures (OpenType feature: hlig)
|
font-variant-ligatures-09 |
= |
|
font-variant-ligatures: contextual; low level equivalence
- Enables display of contextual alternates (OpenType feature: calt)
|
font-variant-ligatures-10 |
= |
|
font-variant-ligatures: no-contextual; low level equivalence
- Disables display of contextual alternates (OpenType feature: calt)
|
font-variant-ligatures-11 |
= |
|
font-variant-ligatures: none is not equivalent to rlig off.
- Required ligatures, needed for correctly rendering complex scripts, are not affected by the settings above, including ‘none’ (OpenType feature: rlig)
|
font-variant-ligatures-computed |
|
Script |
CSS Fonts Module Level 3: getComputedStyle().fontVariantLigatures
- font-variant-ligatures computed value is as specified.
|
font-variant-ligatures-invalid |
|
Script |
CSS Fonts Module Level 3: parsing font-variant-ligatures with invalid values
- font-variant-ligatures supports only the grammar 'normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]'.
|
font-variant-ligatures-valid |
|
Script |
CSS Fonts Module Level 3: parsing font-variant-ligatures with valid values
- font-variant-ligatures supports the full grammar 'normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]'.
|
language-specific-01 |
|
|
language-specific display
- However, in languages such as Turkish which uses both a dotted-i and a dotless-i, it's important to not use this ligature or use a specialized version that contains a dot over the
|
+
6.8 East Asian text rendering: the font-variant-east-asian property |
font-variant-east-asian |
= |
|
feature value matching for font-variant-east-asian
- Values of font-variant-east-asian should enable specific features without enabling others
|
font-variant-east-asian-01 |
= |
|
font-variant-east-asian: normal; low level equivalence
- None of the (east asian) features listed below are enabled.
|
font-variant-east-asian-02 |
= |
|
font-variant-east-asian: jis78; low level equivalence
- None of the (east asian) features listed below are enabled.
|
font-variant-east-asian-03 |
= |
|
font-variant-east-asian: jis83; low level equivalence
- Enables rendering of JIS83 forms (OpenType feature: jp83)
|
font-variant-east-asian-04 |
= |
|
font-variant-east-asian: jis90; low level equivalence
- Enables rendering of JIS90 forms (OpenType feature: jp90)
|
font-variant-east-asian-05 |
= |
|
font-variant-east-asian: jis04; low level equivalence
- Enables rendering of JIS2004 forms (OpenType feature: jp04)
|
font-variant-east-asian-06 |
= |
|
font-variant-east-asian: simplified; low level equivalence
- Enables rendering of simplified forms (OpenType feature: smpl)
|
font-variant-east-asian-07 |
= |
|
font-variant-east-asian: traditional; low level equivalence
- Enables rendering of traditional forms (OpenType feature: trad)
|
font-variant-east-asian-08 |
= |
|
font-variant-east-asian: full-width; low level equivalence
- Enables rendering of full-width variants (OpenType feature: fwid)
|
font-variant-east-asian-09 |
= |
|
font-variant-east-asian: proportional-width; low level equivalence
- Enables rendering of proportionally-spaced variants (OpenType feature: pwid)
|
font-variant-east-asian-10 |
= |
|
font-variant-east-asian: ruby; low level equivalence
- Enables display of ruby variant glyphs (OpenType feature: ruby)
|
font-variant-east-asian-computed |
|
Script |
CSS Fonts Module Level 3: getComputedStyle().fontVariantEastAsian
- font-variant-east-asian computed value is as specified.
|
font-variant-east-asian-invalid |
|
Script |
CSS Fonts Module Level 3: parsing font-variant-east-asian with invalid values
- font-variant-east-asian supports only the grammar 'normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]'.
|
font-variant-east-asian-valid |
|
Script |
CSS Fonts Module Level 3: parsing font-variant-east-asian with valid values
- font-variant-east-asian supports the full grammar 'normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]'.
|
+
6.9 Overall shorthand for font rendering: the font-variant property |
c524-font-var-000 |
|
|
font-variant
|
c527-font-000 |
|
|
font
|
c527-font-004 |
|
|
font
|
c527-font-005 |
|
|
font
|
c527-font-006 |
|
|
font
|
c527-font-007 |
|
|
font
|
c527-font-008 |
|
|
font
|
c527-font-10 |
|
|
font
|
font-default-02 |
= |
|
font default features
- These features must always be enabled, even when the value of the ‘font-variant’ and ‘font-feature-settings’ properties is ‘normal’.
|
font-variant-001 |
= |
|
Font-variant set to 'normal'
- The 'font-variant' property set to 'normal' renders the typical characters for text for the font.
|
font-variant-002 |
|
|
Font-variant set to 'small-caps'
- The 'font-variant' property set to 'normal' renders the small-caps version of characters for text for the font.
|
font-variant-003 |
|
|
Font-variant set to 'inherit'
- The 'font-variant' property set to 'inherit' inherits is value from the patent element's value.
|
font-variant-004 |
|
|
font-variant and color
- if ‘small-caps’ or ‘all-small-caps’ is specified but small-caps glyphs are not available for a given font, user agents should simulate a small-caps font
|
font-variant-01 |
= |
|
font-variant: normal; low level equivalence
- The value ‘normal’ resets all subproperties of ‘font-variant’ to their inital value
|
font-variant-02 |
= |
|
font-variant: none; low level equivalence
- The ‘none’ value sets ‘font-variant-ligatures’ to ‘none’ and resets all other font feature properties to their initial value
|
font-variant-03 |
= |
|
font-variant: normal; low level equivalence
- The value ‘normal’ resets all subproperties of ‘font-variant’ to their inital value. It does not reset the values of either ‘font-language-override’ or ‘font-feature-settings’
|
font-variant-04 |
= |
|
font-variant: none; low level equivalence
- The ‘none’ value sets ‘font-variant-ligatures’ to ‘none’ and resets all other font feature properties to their initial value. It does not reset the values of either ‘font-language-override’ or ‘font-feature-settings’
|
font-variant-06 |
= |
|
font-variant descriptor in @font-face rule is overriden by equivalent style rules
- ‘font-variant-numeric’ cannot turn OFF features turned ON in @font-face
|
font-variant-applies-to-001 |
= ≠ |
|
Font-variant and 'display: inline' elements
- The 'font-variant' property applies to 'display: inline' elements.
|
font-variant-applies-to-002 |
= ≠ |
|
Font-variant and 'display: block' elements
- The 'font-variant' property applies to 'display: block' elements.
|
font-variant-applies-to-003 |
|
|
Font-variant and 'display: list-item' elements
- The 'font-variant' property applies to 'display: list-item' elements.
|
font-variant-applies-to-004 |
= ≠ |
|
Font-variant and 'display: run-in' elements
- The 'font-variant' property applies to 'display: run-in' elements.
|
font-variant-applies-to-005 |
= ≠ |
|
Font-variant and 'display: inline-block' elements
- The 'font-variant' property applies to 'display: inline-block' elements.
|
font-variant-applies-to-006 |
= ≠ |
|
Font-variant and 'display: table' elements
- The 'font-variant' property applies to 'display: table' elements.
|
font-variant-applies-to-007 |
= ≠ |
|
Font-variant and 'display: inline-table' elements
- The 'font-variant' property applies to 'display: inline-table' elements.
|
font-variant-applies-to-008 |
= ≠ |
|
Font-variant and 'display: table-row-group' elements
- The 'font-variant' property applies to 'display: table-row-group' elements.
|
font-variant-applies-to-009 |
= ≠ |
|
Font-variant and 'display: table-header-group' elements
- The 'font-variant' property does not applies to 'display: table-header-group' elements.
|
font-variant-applies-to-010 |
= ≠ |
|
Font-variant and 'display: table-footer-group' elements
- The 'font-variant' property applies to 'display: table-footer-group' elements.
|
font-variant-applies-to-011 |
= ≠ |
|
Font-variant and 'display: table-row' elements
- The 'font-variant' property applies to 'display: table-row' elements.
|
font-variant-applies-to-014 |
= ≠ |
|
Font-variant and 'display: table-cell' elements
- The 'font-variant' property applies to 'display: table-cell' elements.
|
font-variant-applies-to-015 |
= ≠ |
|
Font-variant and 'display: table-caption' elements
- The 'font-variant' property applies to 'display: table-caption' elements.
|
font-variant-applies-to-016 |
= |
|
'font-variant' and 'display: none' elements
- The 'font-variant' property applies to 'display: none' elements.
|
font-variant-applies-to-017 |
= ≠ |
|
Font-variant and 'display: inherit' elements
- The 'font-variant' property applies to 'display: inherit' elements.
|
+
6.10 Low-level font feature settings control: the font-feature-settings property |
font-default-03 |
= |
|
font default features
- These features must always be enabled, even when the value of the ‘font-variant’ and ‘font-feature-settings’ properties is ‘normal’.
|
font-default-04 |
= = = |
|
font default features
- For upright text within vertical text runs, vertical alternates (OpenType feature: vert) must be enabled
|
font-feature-settings-computed |
|
Script |
CSS Fonts Module Level 3: getComputedStyle().fontFeatureSettings
- font-feature-settings computed value is as specified.
|
font-feature-settings-descriptor-01 |
= |
|
font-feature-settings descriptor
- These descriptors define initial settings that apply when the font defined by an @font-face rule is rendered
|
font-feature-settings-invalid |
|
Script |
CSS Fonts Module Level 3: parsing font-feature-settings with invalid values
- font-feature-settings supports only the grammar 'normal | <feature-tag-value> #'.
|
font-feature-settings-tibetan |
= |
|
font-feature-settings Liga and Tibetan shaping
- Test that Tibetan shaping works with ligatures disabled.
|
font-feature-settings-valid |
|
Script |
CSS Fonts Module Level 3: parsing font-feature-settings with valid values
- font-feature-settings supports the full grammar 'normal | <feature-tag-value> #'.
|
font-features-across-space-1 |
= |
|
ligatures should match across spaces
- Ligature features should be handled across spaces with font-feature-settings
|
font-features-across-space-2 |
= |
|
ligatures should match across spaces
- Ligature features should be handled across spaces with font-variant-ligatures
|
font-features-across-space-3 |
= |
|
ligatures should match across spaces
- Ligature features should be handled across spaces with interacting font feature properties
|
font-kerning-02 |
= |
|
font-kerning: normal; low-level equivalence test
- When kerning is enabled, the OpenType kern feature is enabled
|
font-kerning-03 |
= |
|
font-kerning: normal; low-level equivalence test
- (for vertical text runs the vkrn feature is enabled instead)
|
font-kerning-04 |
= |
|
font-kerning: none; low-level equivalence test
- When kerning is disabled, the OpenType kern feature is disabled
|
font-kerning-05 |
= |
|
font-kerning: none; low-level equivalence test
- (for vertical text runs the vkrn feature is disabled instead)
|
font-variant-01 |
= |
|
font-variant: normal; low level equivalence
- The value ‘normal’ resets all subproperties of ‘font-variant’ to their inital value
|
font-variant-02 |
= |
|
font-variant: none; low level equivalence
- The ‘none’ value sets ‘font-variant-ligatures’ to ‘none’ and resets all other font feature properties to their initial value
|
font-variant-03 |
= |
|
font-variant: normal; low level equivalence
- The value ‘normal’ resets all subproperties of ‘font-variant’ to their inital value. It does not reset the values of either ‘font-language-override’ or ‘font-feature-settings’
|
font-variant-04 |
= |
|
font-variant: none; low level equivalence
- The ‘none’ value sets ‘font-variant-ligatures’ to ‘none’ and resets all other font feature properties to their initial value. It does not reset the values of either ‘font-language-override’ or ‘font-feature-settings’
|
font-variant-caps-01 |
= |
|
font-variant-caps: normal; low level equivalence
- None of the features listed below are enabled.
|
font-variant-caps-02 |
= |
|
font-variant-caps: small-caps; low level equivalence
- Enables display of small capitals (OpenType feature: smcp)
|
font-variant-caps-03 |
= |
|
font-variant-caps: all-small-caps; low level equivalence
- Enables display of small capitals for both upper and lowercase letters (OpenType features: c2sc, smcp)
|
font-variant-caps-04 |
= |
|
font-variant-caps: petite-caps; low level equivalence
- Enables display of small capitals for both upper and lowercase letters (OpenType features: c2sc, smcp)
|
font-variant-caps-05 |
= |
|
font-variant-caps: all-petite-caps; low level equivalence
- Enables display of small capitals for both upper and lowercase letters (OpenType features: c2sc, smcp)
|
font-variant-caps-06 |
= |
|
font-variant-caps: unicase; low level equivalence
- Enables display of mixture of small capitals for uppercase letters with normal lowercase letters (OpenType feature: unic)
|
font-variant-caps-07 |
= |
|
font-variant-caps: titling-caps; low level equivalence
- Enables display of titling capitals (OpenType feature: titl)
|
font-variant-east-asian-01 |
= |
|
font-variant-east-asian: normal; low level equivalence
- None of the (east asian) features listed below are enabled.
|
font-variant-east-asian-02 |
= |
|
font-variant-east-asian: jis78; low level equivalence
- None of the (east asian) features listed below are enabled.
|
font-variant-east-asian-03 |
= |
|
font-variant-east-asian: jis83; low level equivalence
- Enables rendering of JIS83 forms (OpenType feature: jp83)
|
font-variant-east-asian-04 |
= |
|
font-variant-east-asian: jis90; low level equivalence
- Enables rendering of JIS90 forms (OpenType feature: jp90)
|
font-variant-east-asian-05 |
= |
|
font-variant-east-asian: jis04; low level equivalence
- Enables rendering of JIS2004 forms (OpenType feature: jp04)
|
font-variant-east-asian-06 |
= |
|
font-variant-east-asian: simplified; low level equivalence
- Enables rendering of simplified forms (OpenType feature: smpl)
|
font-variant-east-asian-07 |
= |
|
font-variant-east-asian: traditional; low level equivalence
- Enables rendering of traditional forms (OpenType feature: trad)
|
font-variant-east-asian-08 |
= |
|
font-variant-east-asian: full-width; low level equivalence
- Enables rendering of full-width variants (OpenType feature: fwid)
|
font-variant-east-asian-09 |
= |
|
font-variant-east-asian: proportional-width; low level equivalence
- Enables rendering of proportionally-spaced variants (OpenType feature: pwid)
|
font-variant-east-asian-10 |
= |
|
font-variant-east-asian: ruby; low level equivalence
- Enables display of ruby variant glyphs (OpenType feature: ruby)
|
font-variant-ligatures-01 |
= |
|
font-variant-ligatures: normal; low level equivalence
- common ligatures and contextual forms are on by default, discretionary and historical ligatures are not
|
font-variant-ligatures-02 |
= |
|
font-variant-ligatures: none; low level equivalence
- all types of ligatures and contextual forms covered by this property are explicitly disabled
|
font-variant-ligatures-03 |
= |
|
font-variant-ligatures: common-ligatures; low level equivalence
- Enables display of common ligatures (OpenType features: liga, clig)
|
font-variant-ligatures-04 |
= |
|
font-variant-ligatures: no-common-ligatures; low level equivalence
- Disables display of common ligatures (OpenType features: liga, clig)
|
font-variant-ligatures-05 |
= |
|
font-variant-ligatures: discretionary-ligatures; low level equivalence
- Enables display of discretionary ligatures (OpenType feature: dlig)
|
font-variant-ligatures-06 |
= |
|
font-variant-ligatures: no-discretionary-ligatures; low level equivalence
- Disables display of discretionary ligatures (OpenType feature: dlig)
|
font-variant-ligatures-07 |
= |
|
font-variant-ligatures: historical-ligatures; low level equivalence
- Enables display of historical ligatures (OpenType feature: hlig)
|
font-variant-ligatures-08 |
= |
|
font-variant-ligatures: no-historical-ligatures; low level equivalence
- Disables display of historical ligatures (OpenType feature: hlig)
|
font-variant-ligatures-09 |
= |
|
font-variant-ligatures: contextual; low level equivalence
- Enables display of contextual alternates (OpenType feature: calt)
|
font-variant-ligatures-10 |
= |
|
font-variant-ligatures: no-contextual; low level equivalence
- Disables display of contextual alternates (OpenType feature: calt)
|
font-variant-ligatures-11 |
= |
|
font-variant-ligatures: none is not equivalent to rlig off.
- Required ligatures, needed for correctly rendering complex scripts, are not affected by the settings above, including ‘none’ (OpenType feature: rlig)
|
font-variant-numeric-01 |
= |
|
font-variant-numeric: normal; low level equivalence
- None of the features listed below are enabled.
|
font-variant-numeric-02 |
= |
|
font-variant-numeric: lining-nums; low level equivalence
- Enables display of lining numerals (OpenType feature: lnum).
|
font-variant-numeric-03 |
= |
|
font-variant-numeric: oldstyle-nums; low level equivalence
- Enables display of old-style numerals (OpenType feature: onum).
|
font-variant-numeric-04 |
= |
|
font-variant-numeric: proportional-nums; low level equivalence
- Enables display of proportional numerals (OpenType feature: pnum).
|
font-variant-numeric-05 |
= |
|
font-variant-numeric: tabular-nums; low level equivalence
- Enables display of tabular numerals (OpenType feature: tnum).
|
font-variant-numeric-06 |
= |
|
font-variant-numeric: diagonal-fractions; low level equivalence
- Enables display of lining diagonal fractions (OpenType feature: frac).
|
font-variant-numeric-07 |
= |
|
font-variant-numeric: stacked-fractions; low level equivalence
- Enables display of lining stacked fractions (OpenType feature: afrc).
|
font-variant-numeric-08 |
= |
|
font-variant-numeric: ordinal; low level equivalence
- Enables display of letter forms used with ordinal numbers (OpenType feature: ordn).
|
font-variant-numeric-09 |
= |
|
font-variant-numeric: slashed-zero; low level equivalence
- Enables display of slashed zeros (OpenType feature: zero).
|
font-variant-position-01 |
= |
|
font-variant-position: normal; low level equivalence
- None of the features listed below are enabled.
|
font-variant-position-02 |
|
|
font-variant-position: sub; low level equivalence
- Enables display of subscript variants (OpenType feature: subs).
|
font-variant-position-03 |
|
|
font-variant-position: super; low level equivalence
- Enables display of subscript variants (OpenType feature: subs).
|