[css3-fonts] fix up references to normal values

Fri, 07 Jun 2013 15:39:14 +0900

author
John Daggett <jdaggett@mozilla.com>
date
Fri, 07 Jun 2013 15:39:14 +0900
changeset 8368
a0a0866f3b1f
parent 8367
f0a4dbf39812
child 8369
660486acf1ee

[css3-fonts] fix up references to normal values

css-fonts/Fonts.html file | annotate | diff | comparison | revisions
     1.1 --- a/css-fonts/Fonts.html	Fri Jun 07 12:47:13 2013 +0900
     1.2 +++ b/css-fonts/Fonts.html	Fri Jun 07 15:39:14 2013 +0900
     1.3 @@ -1912,8 +1912,8 @@
     1.4      class=property>font-variant</code>’</a> and <a
     1.5      href="#propdef-font-weight" title="font-weight!!property">‘<code
     1.6      class=property>font-weight</code>’</a> explicitly, so these properties
     1.7 -    receive their initial values (‘<a href="#normal"><code
     1.8 -    class=property>normal</code></a>’). Notice that the font family name
     1.9 +    receive their initial values (<span title="normal value">‘<code
    1.10 +    class=property>normal</code>’</span>). Notice that the font family name
    1.11      "new century schoolbook", which contains spaces, is enclosed in quotes.
    1.12      The fourth rule sets the <a href="#propdef-font-weight"
    1.13      title="font-weight!!property">‘<code
    1.14 @@ -1923,8 +1923,9 @@
    1.15      class=property>font-style</code>’</a> to ‘<a href="#italic"><code
    1.16      class=property>italic</code></a>’, and implicitly sets <a
    1.17      href="#propdef-font-variant" title="font-variant!!property">‘<code
    1.18 -    class=property>font-variant</code>’</a> to ‘<a href="#normal"><code
    1.19 -    class=property>normal</code></a>’.
    1.20 +    class=property>font-variant</code>’</a> to <a
    1.21 +    href="#font-variant-normal-value" title="normal!!font-variant">‘<code
    1.22 +    class=property>normal</code>’</a>.
    1.23  
    1.24     <p> The fifth rule sets the <a href="#propdef-font-variant"
    1.25      title="font-variant!!property">‘<code
    1.26 @@ -1937,9 +1938,9 @@
    1.27      class=property>line-height</code>’</a> (120% of the font size) and the
    1.28      <a href="#propdef-font-family" title="font-family!!property">‘<code
    1.29      class=property>font-family</code>’</a> (‘<a href="#fantasy"><code
    1.30 -    class=property>fantasy</code></a>’). It follows that the keyword ‘<a
    1.31 -    href="#normal"><code class=property>normal</code></a>’ applies to the
    1.32 -    two remaining properties: <a href="#propdef-font-style"
    1.33 +    class=property>fantasy</code></a>’). It follows that the keyword <span
    1.34 +    title="normal value">‘<code class=property>normal</code>’</span>
    1.35 +    applies to the two remaining properties: <a href="#propdef-font-style"
    1.36      title="font-style!!property">‘<code
    1.37      class=property>font-style</code>’</a> and <a
    1.38      href="#propdef-font-weight" title="font-weight!!property">‘<code
    1.39 @@ -3176,8 +3177,9 @@
    1.40        exactly matches the width value the nearest width is used instead. If
    1.41        the value of <a href="#propdef-font-stretch"
    1.42        title="font-stretch!!property">‘<code
    1.43 -      class=property>font-stretch</code>’</a> is ‘<a href="#normal"><code
    1.44 -      class=property>normal</code></a>’ or one of the condensed values,
    1.45 +      class=property>font-stretch</code>’</a> is <a
    1.46 +      href="#font-stretch-normal-value" title="normal!!font-stretch">‘<code
    1.47 +      class=property>normal</code>’</a> or one of the condensed values,
    1.48        narrower width values are checked first, then wider values. If the
    1.49        value of <a href="#propdef-font-stretch"
    1.50        title="font-stretch!!property">‘<code
    1.51 @@ -3194,8 +3196,9 @@
    1.52        then oblique, then normal faces. If the value is ‘<a
    1.53        href="#oblique"><code class=property>oblique</code></a>’, oblique
    1.54        faces are checked first, then italic faces and then normal faces. If
    1.55 -      the value is ‘<a href="#normal"><code
    1.56 -      class=property>normal</code></a>’, normal faces are checked first,
    1.57 +      the value is <a href="#font-style-normal-value"
    1.58 +      title="normal!!font-style">‘<code
    1.59 +      class=property>normal</code>’</a>, normal faces are checked first,
    1.60        then oblique faces, then italic faces. Faces with other style values
    1.61        are excluded from the matching set. User agents are permitted to
    1.62        distinguish between italic and oblique faces within platform font
    1.63 @@ -3611,8 +3614,9 @@
    1.64    <p>When set to ‘<code class=property>auto</code>’, user agents can
    1.65     determine whether to apply kerning or not based on a number of factors:
    1.66     text size, script, or other factors that influence text processing speed.
    1.67 -   Authors who want proper kerning should use ‘<a href="#normal"><code
    1.68 -   class=property>normal</code></a>’ to explicitly enable kerning.
    1.69 +   Authors who want proper kerning should use <a
    1.70 +   href="#font-kerning-normal-value" title="normal!!font-kerning">‘<code
    1.71 +   class=property>normal</code>’</a> to explicitly enable kerning.
    1.72     Likewise, some authors may prefer to disable kerning in situations where
    1.73     performance is more important than precise appearance. However, in
    1.74     well-designed modern implementations the use of kerning generally does not
    1.75 @@ -3703,8 +3707,9 @@
    1.76     <dt><dfn id=font-variant-ligatures-normal-value
    1.77      title="normal!!font-variant-ligatures">normal</dfn>
    1.78  
    1.79 -   <dd>A value of ‘<a href="#normal"><code
    1.80 -    class=property>normal</code></a>’ specifies that common default
    1.81 +   <dd>A value of <a href="#font-variant-ligatures-normal-value"
    1.82 +    title="normal!!font-variant-ligatures">‘<code
    1.83 +    class=property>normal</code>’</a> specifies that common default
    1.84      features are enabled, <a href="#font-feature-resolution">as described in
    1.85      detail in the next section</a>. For OpenType fonts, common ligatures and
    1.86      contextual forms are on by default, discretionary and historical
    1.87 @@ -3801,7 +3806,8 @@
    1.88      <tr>
    1.89       <td>Value:
    1.90  
    1.91 -     <td><span title="normal!!font-variant-position">normal</span> | <a
    1.92 +     <td><a href="#font-variant-position-normal-value"
    1.93 +      title="normal!!font-variant-position">normal</a> | <a
    1.94        href="#sub">sub</a> | <a href="#super">super</a>
    1.95  
    1.96      <tr>
    1.97 @@ -3856,7 +3862,8 @@
    1.98    <p>Individual values have the following meanings:
    1.99  
   1.100    <dl>
   1.101 -   <dt><dfn id=normal>normal</dfn>
   1.102 +   <dt><dfn id=font-variant-position-normal-value
   1.103 +    title="normal!!font-variant-position">normal</dfn>
   1.104  
   1.105     <dd>None of the features listed below are enabled.
   1.106  
   1.107 @@ -3894,10 +3901,11 @@
   1.108    </div>
   1.109  
   1.110    <p>In the past, user agents have used font-size and vertical-align to
   1.111 -   simulate subscripts and superscripts for the <a class=tag
   1.112 -   href="#sub">sub</a> and <span class=tag>sup</span> elements. To allow a
   1.113 -   backwards compatible way of defining subscripts and superscripts, it is
   1.114 -   recommended that authors use conditional rules <a href="#CSS3-CONDITIONAL"
   1.115 +   simulate subscripts and superscripts for the <code title="HTML sub
   1.116 +   element">sub</code> and <code title="HTML sup element">sup</code>
   1.117 +   elements. To allow a backwards compatible way of defining subscripts and
   1.118 +   superscripts, it is recommended that authors use conditional rules <a
   1.119 +   href="#CSS3-CONDITIONAL"
   1.120     rel=biblioentry>[CSS3-CONDITIONAL]<!--{{CSS3-CONDITIONAL}}--></a> so that
   1.121     older user agents will still render subscripts and superscripts via the
   1.122     older mechanism.
   1.123 @@ -3917,10 +3925,10 @@
   1.124     superscript glyph. Images contained within text runs where the value of
   1.125     this property is ‘<a href="#sub"><code class=property>sub</code></a>’
   1.126     or ‘<a href="#super"><code class=property>super</code></a>’ will be
   1.127 -   drawn just as they would if the value was ‘<a href="#normal"><code
   1.128 -   class=property>normal</code></a>’. The variant glyphs are laid out just
   1.129 -   as default glyphs are. There is no shift in the placement along the
   1.130 -   baseline, so the use of these glyphs doesn't affect the linebox height.</p>
   1.131 +   drawn just as they would if the value was <a
   1.132 +   href="#font-variant-position-normal-value"
   1.133 +   title="normal!!font-variant-position">‘<code
   1.134 +   class=property>normal</code>’</a>.</p>
   1.135    <!-- due to lack of consensus, couldn't resolve on exact positioning of text decorations:
   1.136  http://www.w3.org/2013/06/06-css-minutes.html#item03 -->
   1.137  
   1.138 @@ -3931,6 +3939,13 @@
   1.139     subscripts or superscripts will only contain the narrow range of
   1.140     characters supported by the fonts specified.
   1.141  
   1.142 +  <p class=note>The variant glyphs use the same baseline as the default
   1.143 +   glyphs would use. There is no shift in the placement along the baseline,
   1.144 +   so the use of variant glyphs doesn't affect the height of the inline box
   1.145 +   or alter the height of the linebox. This makes superscript and subscript
   1.146 +   variants ideal for situations where it's important that leading remain
   1.147 +   constant, such as in multi-column layout.
   1.148 +
   1.149    <div class=example>
   1.150     <p>A typical user agent default style for the <a class=tag
   1.151      href="#sub">sub</a> element:</p>
   1.152 @@ -5367,7 +5382,7 @@
   1.153     <dt><dfn
   1.154      id=font-language-override-string-value><var>&lt;string&gt;</var></dfn>
   1.155  
   1.156 -   <dd>single three-letter OpenType <a
   1.157 +   <dd>single three-letter case-sensitive OpenType <a
   1.158      href="http://www.microsoft.com/typography/otspec/languagetags.htm">language
   1.159      system tag</a>, specifies the OpenType language system to be used instead
   1.160      of the language system implied by the language of the element
   1.161 @@ -5445,10 +5460,10 @@
   1.162     class=property>font-variant</code>’</a> and <a
   1.163     href="#propdef-font-feature-settings"
   1.164     title="font-feature-settings!!property">‘<code
   1.165 -   class=property>font-feature-settings</code>’</a> properties is ‘<a
   1.166 -   href="#normal"><code class=property>normal</code></a>’. Individual
   1.167 -   features are only disabled when explicitly overridden by the author, as
   1.168 -   when ‘<a href="#propdef-font-variant-ligatures"><code
   1.169 +   class=property>font-feature-settings</code>’</a> properties is <span
   1.170 +   title="normal value">‘<code class=property>normal</code>’</span>.
   1.171 +   Individual features are only disabled when explicitly overridden by the
   1.172 +   author, as when ‘<a href="#propdef-font-variant-ligatures"><code
   1.173     class=property>font-variant-ligatures</code></a>’ is set to ‘<a
   1.174     href="#no-common-ligatures"><code
   1.175     class=property>no-common-ligatures</code></a>’. For handling complex
   1.176 @@ -6550,7 +6565,7 @@
   1.177        title="none, font-variant-ligatures"><strong>6.4</strong></a>
   1.178      </ul>
   1.179  
   1.180 -   <li>normal, <a href="#normal" title=normal><strong>6.5</strong></a>
   1.181 +   <li>normal
   1.182      <ul>
   1.183       <li>font-feature-settings, <a href="#font-feature-settings-normal-value"
   1.184        title="normal, font-feature-settings"><strong>6.12</strong></a>
   1.185 @@ -6589,6 +6604,9 @@
   1.186       <li>font-variant-numeric, <a href="#font-variant-numeric-normal-value"
   1.187        title="normal, font-variant-numeric"><strong>6.7</strong></a>
   1.188  
   1.189 +     <li>font-variant-position, <a href="#font-variant-position-normal-value"
   1.190 +      title="normal, font-variant-position"><strong>6.5</strong></a>
   1.191 +
   1.192       <li>font-weight, <a href="#font-weight-normal-value" title="normal,
   1.193        font-weight"><strong>3.2</strong></a>
   1.194      </ul>

mercurial