Skip to content

Commit 81956f2

Browse files
author
John Daggett
committed
[css3-fonts] editorial fixups in font feature resolution
1 parent e6105ff commit 81956f2

1 file changed

Lines changed: 22 additions & 18 deletions

File tree

css-fonts/Fonts.html

Lines changed: 22 additions & 18 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-5-june-2013>Editor's Draft 5
115+
<h2 class="no-num no-toc" id=editors-draft-6-june-2013>Editor's Draft 6
116116
June 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-20130605/">http://www.w3.org/TR/2013/ED-css3-fonts-20130605/</a> -->
123+
<!-- <dd><a href="http://www.w3.org/TR/2013/ED-css3-fonts-20130606/">http://www.w3.org/TR/2013/ED-css3-fonts-20130606/</a> -->
124124

125125

126126
<dt>Latest version:
@@ -2665,9 +2665,8 @@ <h3 id=unicode-range-desc><span class=secno>4.5 </span>Character range: the
26652665
correspond to <a href="http://www.unicode.org/charts/">Unicode character
26662666
codepoints</a>. Valid Unicode codepoint values vary between 0 and 10FFFF
26672667
inclusive. Digit values of codepoints are ASCII case-insensitive. For
2668-
interval ranges, the start and end codepoints must be valid Unicode values
2669-
and the end codepoint must be greater than or equal to the start
2670-
codepoint.
2668+
interval ranges, the start and end codepoints are valid Unicode values and
2669+
the end codepoint is greater than or equal to the start codepoint.
26712670

26722671
<p>Wildcard ranges specified with ‘?’ that lack an initial digit (e.g.
26732672
"U+???") are valid and equivalent to a wildcard range with an initial zero
@@ -2971,8 +2970,10 @@ <h3 id=font-face-loading><span class=secno>4.8 </span>Font loading
29712970
<a href="#at-font-face-rule"><code>@font-face</code></a> rules without
29722971
considering whether those fonts are in fact used within a page are
29732972
considered non-conformant. In cases where a font might be downloaded in
2974-
character fallback cases, user agents may download a font if it's listed
2975-
in a font list but is not actually used for a given text run.
2973+
character fallback cases, user agents may download a font if it's
2974+
contained within the computed value of <a href="#propdef-font-family"
2975+
title="font-family!!property"><code
2976+
class=property>font-family</code></a> for a given text run.
29762977

29772978
<pre>
29782979
@font-face {
@@ -5468,7 +5469,7 @@ <h3 id=feature-precedence><span class=secno>7.2 </span>Feature precedence</h3>
54685469

54695470
<p>General and <a href="#font-specific"><em>font specific</em></a> font
54705471
feature property settings are resolved in the order below, in ascending
5471-
precedence order. This ordering is used to construct a combined list of
5472+
order of precedence. This ordering is used to construct a combined list of
54725473
font features that affect a given text run.
54735474

54745475
<ol>
@@ -5492,14 +5493,15 @@ <h3 id=feature-precedence><span class=secno>7.2 </span>Feature precedence</h3>
54925493
title="font-feature-settings!!property"><code
54935494
class=property>font-feature-settings</code></a>. For example, setting
54945495
a non-default value for the ‘<code
5495-
class=property>letter-spacing</code>’ property disables ligatures.
5496+
class=property>letter-spacing</code>’ property disables common
5497+
ligatures.
54965498

54975499
<li>Font features implied by the value of the <a
54985500
href="#propdef-font-variant" title="font-variant!!property"><code
54995501
class=property>font-variant</code></a> property, the related <a
55005502
href="#propdef-font-variant" title="font-variant!!property"><code
55015503
class=property>font-variant</code></a> subproperties and any other CSS
5502-
property that may use OpenType features (e.g. the ‘<a
5504+
property that uses OpenType features (e.g. the ‘<a
55035505
href="#propdef-font-kerning"><code
55045506
class=property>font-kerning</code></a>’ property).
55055507

@@ -5524,7 +5526,7 @@ <h3 id=feature-precedence><span class=secno>7.2 </span>Feature precedence</h3>
55245526
font lacks support for a given underlying font feature, text is simply
55255527
rendered as if that font feature was not enabled; font fallback does not
55265528
occur and no attempt is made to synthesize the feature except where
5527-
explicitly noted for specific properties.
5529+
explicitly defined for specific properties.
55285530

55295531
<h3 id=feature-precedence-examples><span class=secno>7.3 </span>Feature
55305532
precedence examples</h3>
@@ -5544,9 +5546,10 @@ <h3 id=feature-precedence-examples><span class=secno>7.3 </span>Feature
55445546
</div>
55455547

55465548
<div class=example>
5547-
<p>When the font-variant descriptor is used within an <a
5548-
href="#at-font-face-rule"><code>@font-face</code></a> rule, it only
5549-
applies to the font defined by that rule.</p>
5549+
<p>When the <a href="#descdef-font-variant"
5550+
title="font-variant!!descriptor">font-variant</a> descriptor is used
5551+
within an <a href="#at-font-face-rule"><code>@font-face</code></a> rule,
5552+
it only applies to the font defined by that rule.</p>
55505553

55515554
<pre>@font-face {
55525555
font-family: MainText;
@@ -5610,16 +5613,17 @@ <h3 id=feature-precedence-examples><span class=secno>7.3 </span>Feature
56105613
span.special { font-variant-ligatures: no-discretionary-ligatures; }
56115614
</pre>
56125615

5613-
<p>Adding an discretionary style rule with the <a
5614-
href="#at-font-face-rule"><code>@font-face</code></a> above:</p>
5616+
<p>Suppose one adds a rule using ‘<code
5617+
class=property>font-feature-settings</code>’ to enable discretionary
5618+
ligatures:</p>
56155619

56165620
<pre>body { font-family: main, Helvetica; }
56175621
span { font-feature-settings: "dlig"; }
56185622
span.special { font-variant-ligatures: no-discretionary-ligatures; }
56195623
</pre>
56205624

5621-
<p>Within spans of class "special", discretionary ligatures <em>will</em>
5622-
be rendered. This is because both the <a
5625+
<p>In this case, discretionary ligatures <em>will</em> be rendered within
5626+
spans of class "special". This is because both the <a
56235627
href="#propdef-font-feature-settings"
56245628
title="font-feature-settings!!property"><code
56255629
class=property>font-feature-settings</code></a> and ‘<a

0 commit comments

Comments
 (0)