Thu, 12 Apr 2018 11:37:25 +0200
Changes from #2531
css-fonts-3/Fonts.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css-fonts-3/Fonts.src.html Thu Apr 12 11:24:17 2018 +0200 1.2 +++ b/css-fonts-3/Fonts.src.html Thu Apr 12 11:37:25 2018 +0200 1.3 @@ -118,13 +118,11 @@ 1.4 <dt>Latest version:</dt> 1.5 <dd><a href="https://www.w3.org/TR/css-fonts-3/">https://www.w3.org/TR/css-fonts-3/</a></dd> 1.6 <dt>Latest editor's draft:</dt> 1.7 - <dd><a href="https://drafts.csswg.org/css-fonts/">https://drafts.csswg.org/css-fonts/</a> 1.8 - (<a href="https://hg.csswg.org/drafts/log/tip/css-fonts/Fonts.html">change log</a>)</dd> 1.9 - <dt>Previous version:</dt> 1.10 + <dd><a href="https://drafts.csswg.org/css-fonts/">https://drafts.csswg.org/css-fonts/</a></dd> 1.11 + <dt>Previous versions:</dt> 1.12 + <dd><a href="https://www.w3.org/TR/2018/CR-css-fonts-3-20180315/">https://www.w3.org/TR/2018/CR-css-fonts-3-20180315/</a></dd> 1.13 <dd><a href="https://www.w3.org/TR/2013/CR-css-fonts-3-20131003/">https://www.w3.org/TR/2013/CR-css-fonts-3-20131003/</a></dd> 1.14 <dt>Issues List:</dt> 1.15 - <dd><a href="https://www.w3.org/Style/CSS/Tracker/products/18">CSS3 Fonts issues in Tracker</a> 1.16 - <dd><a href="https://www.w3.org/Bugs/Public/buglist.cgi?query_format=advanced&product=CSS&component=Fonts&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED">CSS3 Fonts issues in Bugzilla</a> 1.17 <dd><a href="https://github.com/w3c/csswg-drafts/labels/css-fonts-3">css-fonts-3 issues in github</a> 1.18 <dt>Discussion:</dt> 1.19 <dd> 1.20 @@ -2188,33 +2186,7 @@ 1.21 1.22 </div> 1.23 1.24 -<h3 id="font-rend-desc">Font features: the <a href="#descdef-font-variant">font-variant</a> and <a href="#descdef-font-feature-settings">font-feature-settings</a> descriptors</h3> 1.25 -<table class="descdef"> 1.26 - <tbody> 1.27 - <tr> 1.28 - <td>Name:</td> 1.29 - <td><dfn id="descdef-font-variant" title="font-variant!!descriptor">font-variant</dfn></td> 1.30 - </tr> 1.31 - <tr> 1.32 - <td>Value:</td> 1.33 - <td><span title="normal!!font-variant">normal</span> | <span title="none!!font-variant">none</span> | 1.34 - [ <var><common-lig-values></var> || <var><discretionary-lig-values></var> || <var><historical-lig-values></var> || 1.35 - <var><contextual-alt-values></var> || <var title="stylistic">stylistic(<feature-value-name>)</var> || <var>historical-forms</var> || 1.36 - <var title="styleset">styleset(<feature-value-name> #)</var> || 1.37 - <var title="character-variant">character-variant(<feature-value-name> #)</var> || 1.38 - <var title="swash">swash(<feature-value-name>)</var> || <var title="ornaments">ornaments(<feature-value-name>)</var> || 1.39 - <var title="annotation">annotation(<feature-value-name>)</var> || 1.40 - [ <i>small-caps</i> | <i>all-small-caps</i> | <i>petite-caps</i> | <i>all-petite-caps</i> | <i>unicase</i> | <i>titling-caps</i> ] || 1.41 - <var><numeric-figure-values></var> || <var><numeric-spacing-values></var> || <var><numeric-fraction-values></var> || <i>ordinal</i> || <i>slashed-zero</i> || 1.42 - <var><east-asian-variant-values></var> || <var><east-asian-width-values></var> || <i>ruby</i> || 1.43 - [ <i>sub</i> | <i>super</i> ] ]</td> 1.44 - </tr> 1.45 - <tr> 1.46 - <td><em>Initial:</em></td> 1.47 - <td>normal</td> 1.48 - </tr> 1.49 - </tbody> 1.50 -</table> 1.51 +<h3 id="font-rend-desc">Font features: the <a href="#descdef-font-feature-settings">font-feature-settings</a> descriptor</h3> 1.52 1.53 <table class="descdef"> 1.54 <tbody> 1.55 @@ -2233,18 +2205,14 @@ 1.56 </tbody> 1.57 </table> 1.58 1.59 -<p>These descriptors define initial settings that apply when the font defined by 1.60 -an <code>@font-face</code> rule is rendered. They do not affect font selection. 1.61 +<p>This descriptor defines initial settings that apply when the font defined by 1.62 +an <code>@font-face</code> rule is rendered. It does not affect font selection. 1.63 Values are identical to those defined for the corresponding 1.64 -<span title="font-variant!!property">'font-variant'</span> and <span title="font-feature-settings!!property">'font-feature-settings'</span> properties defined below 1.65 +<span title="font-feature-settings!!property">'font-feature-settings'</span> property defined below 1.66 except that the value 'inherit' is omitted. When multiple font 1.67 feature descriptors or properties are used, the cumulative effect on 1.68 text rendering is detailed in the section 1.69 <a href="#font-feature-resolution">Font Feature Resolution</a> below. 1.70 -In cases where specific values define synthesized fallback for certain 1.71 -<span title="font-variant!!property">'font-variant'</span> subproperties, the same synthesized fallback 1.72 -applies when used within those values are used with the 1.73 -<span title="font-style!!descriptor">'font-variant'</span> descriptor. 1.74 </p> 1.75 1.76 <h3 id="font-face-loading">Font loading guidelines</h3> 1.77 @@ -4254,9 +4222,6 @@ 1.78 <li>Font features enabled by default, including features required for a given script.</li> 1.79 1.80 <li>If the font is defined via an <code>@font-face</code> rule, the font features 1.81 - implied by the font-variant descriptor in the <code>@font-face</code> rule.</li> 1.82 - 1.83 - <li>If the font is defined via an <code>@font-face</code> rule, the font features 1.84 implied by the font-feature-settings descriptor in the <code>@font-face</code> rule.</li> 1.85 1.86 <li>Font features implied by the value of the <span title="font-variant!!property">'font-variant'</span> property, 1.87 @@ -4305,7 +4270,7 @@ 1.88 </pre> 1.89 </div> 1.90 1.91 -<div class="example"> 1.92 +<!-- <div class="example"> 1.93 <p>When the <span title="font-variant!!descriptor">font-variant</span> descriptor 1.94 is used within an <code>@font-face</code> rule, it only 1.95 applies to the font defined by that rule.</p> 1.96 @@ -4331,8 +4296,9 @@ 1.97 appears in a general style rule and its use is mutually exclusive with 1.98 'proportional-nums'. Stylistic alternate sets will only be used where 1.99 MainText is used.</p> </div> 1.100 - 1.101 -<div class="example"> 1.102 +--> 1.103 + 1.104 +<!-- <div class="example"> 1.105 <p>The <code>@font-face</code> rule can also be used to access font features in locally available 1.106 fonts via the use of <code>local()</code> in the 'src' descriptor of the <code>@font-face</code> definition:</p> 1.107 1.108 @@ -4350,9 +4316,9 @@ 1.109 rendering occurs, Japanese kana will be proportionally spaced and Latin text will 1.110 be italicised. Text rendered with the fallback serif font will use default 1.111 rendering properties.</p> 1.112 -</div> 1.113 - 1.114 -<div class="example"> 1.115 +</div> --> 1.116 + 1.117 +<!-- <div class="example"> 1.118 <p>In the example below, discretionary ligatures are enabled only for a downloadable font 1.119 but are disabled within spans of class "special":</p> 1.120 1.121 @@ -4378,7 +4344,7 @@ 1.122 apply to these spans. Although the 'no-discretionary ligatures' setting of 'font-variant-ligatures' 1.123 effectively disables the OpenType <span class="tag">dlig</span> feature, because the <span title="font-feature-settings!!property">'font-feature-settings'</span> 1.124 is resolved after that, the 'dlig' value reenables discretionary ligatures.</p> 1.125 -</div> 1.126 +</div> --> 1.127 1.128 <h2 id="object-model">Object Model</h2> 1.129