Skip to content

Commit 6dfb796

Browse files
author
John Daggett
committed
[css3-fonts] more tweaks of @font-feature-values wording
1 parent ddba514 commit 6dfb796

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

css3-fonts/Fonts.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4311,11 +4311,15 @@ <h3 id=font-feature-values><span class=secno>6.9 </span>Defining font
43114311
class=prod><dfn id=ltfeature-indexgt><var>&lt;feature-index&gt;</var></dfn> = an integer value greater than 0 specific to a given font or set of fonts</pre>
43124312

43134313
<p>These <code>@font-feature-values</code> rules can appear anywhere within
4314-
a stylesheet and are exposed bidirectionally across @import boundaries. An
4315-
<code>@font-feature-values</code> rule contains a list of feature value
4316-
sets, each <dfn id=feature-value-set>feature value set</dfn> containing a
4317-
series of feature value definitions for a single
4318-
<code>&lt;feature-type></code>.
4314+
a stylesheet and are exposed bidirectionally across @import boundaries. A
4315+
<dfn id=feature-value-set>feature value set</dfn> contains a series of
4316+
feature value definitions for a single <code>&lt;feature-type></code>. An
4317+
<code>@font-feature-values</code> rule is composed of a series of these
4318+
sets. The <code>&lt;feature-type></code> must match, using an ASCII
4319+
case-insensitive comparison, one of the <em>font specific</em> values of
4320+
the <a
4321+
href="#propdef-font-variant-alternates"><code>font-variant-alternates</code></a>
4322+
property.
43194323

43204324
<p>If syntax errors occur within the font family list, the entire rule must
43214325
be ignored. When syntax errors occur within a feature value definition,
@@ -4328,7 +4332,7 @@ <h3 id=font-feature-values><span class=secno>6.9 </span>Defining font
43284332
@swash { ornate: 1; }
43294333
annotation { boxed: 4; } /* should be @annotation! */
43304334
@styleset { double-W: 14; sharp-terminals: 16 } /* missing ; */
4331-
<a href="http://www.angryalien.com/0504/shiningbunnies.html" style="text-decoration: none;">redrum</a> /* editing mistake */
4335+
<a href="http://www.angryalien.com/0504/shiningbunnies.html" style="text-decoration: none;">redrum</a> /* random editing mistake */
43324336
}</pre>
43334337

43344338
<p>The example above is equivalent to:

0 commit comments

Comments
 (0)