Skip to content

Commit cd8d461

Browse files
committed
[css-fonts-4] Define feature and variation names with <opentype-tag>
1 parent eb9028e commit cd8d461

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

css-fonts-4/Overview.bs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6205,9 +6205,12 @@ occurs due to this property.</p>
62056205

62066206
<p>Feature tag values have the following syntax:</p>
62076207

6208-
<pre class="prod"><dfn dfn-for="font-feature-settings" dfn-type="value" id="feature-tag-value"><var>&lt;feature-tag-value&gt;</var></dfn> = &lt;string&gt; [ &lt;integer [0,∞]&gt; | on | off ]?</pre>
6208+
<pre class="prod">
6209+
<dfn dfn-for="font-feature-settings" dfn-type="value" id="feature-tag-value"><var>&lt;feature-tag-value&gt;</var></dfn> = &lt;string&gt; [ &lt;integer [0,∞]&gt; | on | off ]?
6210+
<dfn>&lt;opentype-tag&gt;</dfn> = &lt;string&gt;
6211+
</pre>
62096212

6210-
<p>The &lt;string&gt; is a case-sensitive OpenType feature tag.
6213+
<p>The <<opentype-tag>> is a case-sensitive OpenType feature tag.
62116214
As specified in the OpenType specification [[!OPENTYPE]],
62126215
feature tags contain four ASCII characters.
62136216
Tag strings longer or shorter than four characters,
@@ -6777,7 +6780,7 @@ Low-level font variation settings control: the 'font-variation-settings' propert
67776780

67786781
<pre class="propdef">
67796782
Name: font-variation-settings
6780-
Value: normal | [ <<string>> <<number>>]#
6783+
Value: normal | [ <<opentype-tag>> <<number>>]#
67816784
Initial: normal
67826785
Applies to: all elements and text
67836786
Inherited: yes
@@ -6838,7 +6841,7 @@ rather than 'font-variation-settings': "wght" 700.
68386841

68396842
A value of ''font-variation-settings/normal'' means that no change in glyph shape, matching, or positioning occurs due to this property.
68406843

6841-
The <<string>> is a case-sensitive OpenType or TrueType variation axis name.
6844+
The <<opentype-tag>> is a case-sensitive OpenType or TrueType variation axis name.
68426845
As specified in the OpenType / TrueType specifications,
68436846
axis names contain four ASCII characters.
68446847
Axis name strings longer or shorter than four characters,

0 commit comments

Comments
 (0)