CSS font-language-override Property

❮ Previous Reference Next ❯

Example

p {
  font-language-override: "ENG";
}

Meaning:

The font-language-override CSS property controls the use of language-specific glyphs in a typeface.

Default value:normal
Inherited:No
Animatable:No
Version:CSS3
JavaScript syntax:
object.style.fontLanguageOverride="normal|string|initial|inherit|revert|revert-layer|unset";



Standard Syntax

font-language-override: normal|string|initial|inherit|revert|revert-layer|unset;



Browser Support




Status







Property Values

The following table describes the values of this property:

Value Description
normal This is the default value. Tells the browser to use font glyphs that are appropriate for the language specified by the lang attribute.
string Tells the browser to use font glyphs that are appropriate for the language specified by the string.

The string must match a language tag found in the OpenType language system. For example, "ENG" is English, and "KOR" is Korean.

initial Sets this property to its default value.
inherit If specified, the associated element takes the computed value of its parent element animation-delay property.
revert Reverts the cascaded value of the property from its current value to the value the property
revert-layer Rollback styles to the ones specified in previous cascade layers.
unset Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.



Default CSS Property Values

selectors {
  font-language-override: normal;
}
❮ Previous Reference Next ❯