Skip to content

Commit 680a62f

Browse files
committed
[css-fonts-4] OT tags are 4 char, fix w3c#5195
1 parent b9ab4e3 commit 680a62f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

css-fonts-4/Overview.bs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5184,8 +5184,12 @@ Values have the following meanings:
51845184
<dd>specifies that when rendering with OpenType fonts,
51855185
the content language of the element is used to infer the OpenType language system</dd>
51865186
<dt><dfn data-dfn-type=value data-dfn-for=font-language-override id="font-language-override-string-value"><<string>></dfn></dt>
5187-
<dd>single three-letter case-sensitive OpenType <a href="https://www.microsoft.com/typography/otspec/languagetags.htm">language system tag</a>,
5188-
specifies the OpenType language system to be used instead of the language system implied by the language of the element</dd>
5187+
<dd>single four-character case-sensitive OpenType <a href="https://www.microsoft.com/typography/otspec/languagetags.htm">language system tag</a>,
5188+
specifies the OpenType language system to be used instead of the language system implied by the language of the element.
5189+
If the string is shorter than four characters,
5190+
it is padded at the end with space (U+0020) characters
5191+
such that the length is 4, before being matched.
5192+
</dd>
51895193
</dl>
51905194

51915195
<!-- For this level, string represents a single language code, there's no concept of "fallback"

0 commit comments

Comments
 (0)