Skip to content

Commit 046c811

Browse files
author
John Daggett
committed
[css-fonts] tweak syntax description for @font-feature-values rule
1 parent 10baf2c commit 046c811

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

css-fonts/Fonts.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@
112112

113113
<h1>CSS Fonts Module Level 3</h1>
114114

115-
<h2 class="no-num no-toc" id=editors-draft-7-may-2013>Editor's Draft 7 May
115+
<h2 class="no-num no-toc" id=editors-draft-8-may-2013>Editor's Draft 8 May
116116
2013</h2>
117117

118118
<dl id=authors>
119119
<dt>This version:
120120

121121
<dd><a
122122
href="http://dev.w3.org/csswg/css-fonts/">http://dev.w3.org/csswg/css-fonts/</a>
123-
<!-- <dd><a href="http://www.w3.org/TR/2013/ED-css3-fonts-20130507/">http://www.w3.org/TR/2013/ED-css3-fonts-20130507/</a> -->
123+
<!-- <dd><a href="http://www.w3.org/TR/2013/ED-css3-fonts-20130508/">http://www.w3.org/TR/2013/ED-css3-fonts-20130508/</a> -->
124124

125125

126126
<dt>Latest version:
@@ -4334,10 +4334,16 @@ <h3 id=font-feature-values><span class=secno>6.9 </span>Defining font
43344334
<pre>@{F}{O}{N}{T}{-}{F}{E}{A}{T}{U}{R}{E}{-}{V}{A}{L}{U}{E}{S} {return FONT_FEATURE_VALUES_SYM;}
43354335
</pre>
43364336

4337-
<p>These rules define a set of values for a specific font feature as used
4338-
for a given set of families. Effectively, they define a mapping of
4339-
⟨family, feature, ident⟩ → ⟨values⟩ where ⟨values⟩ are the
4340-
indices used for specific features defined for a given font.
4337+
<p>Feature value blocks are treated <a
4338+
href="http://www.w3.org/TR/CSS2/syndata.html#at-rules">similar to
4339+
at-rules</a>, they consist of everything up to the next block or
4340+
semi-colon, whichever comes first.
4341+
4342+
<p>Font feature values rules define a set of values for a specific font
4343+
feature as used for a given set of families. Effectively, they define a
4344+
mapping of ⟨family, feature, ident⟩ → ⟨values⟩ where
4345+
⟨values⟩ are the indices used for specific features defined for a
4346+
given font.
43414347

43424348
<p>The font family list uses the same syntax as that used for the ‘<a
43434349
href="#descdef-font-family"><code class=property>font-family</code></a>

0 commit comments

Comments
 (0)