Skip to content

Commit 43cf55e

Browse files
committed
Fix w3c#2566
1 parent 2a31031 commit 43cf55e

4 files changed

Lines changed: 45 additions & 26 deletions

File tree

css-fonts-3/Fonts.html

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@
113113

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

116-
<h2 class="no-num no-toc">Editor's Draft 12 April 2018</h2>
116+
<h2 class="no-num no-toc">Editor's Draft 17 June 2018</h2>
117117

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

121121
<dd><a
122122
href="https://drafts.csswg.org/css-fonts/">https://drafts.csswg.org/css-fonts/</a>
123-
<!-- <dd><a href="https://www.w3.org/TR/2018/ED-css-fonts-3-20180412/">https://www.w3.org/TR/2018/ED-css-fonts-3-20180412/</a> -->
123+
<!-- <dd><a href="https://www.w3.org/TR/2018/ED-css-fonts-3-20180617/">https://www.w3.org/TR/2018/ED-css-fonts-3-20180617/</a> -->
124124

125125
<dt>Latest version:
126126

@@ -2401,7 +2401,10 @@ <h3 id=src-desc><span class=secno>4.3. </span>Font reference: the <a
24012401
given <a href="#at-font-face-rule"><code>@font-face</code></a> rule.
24022402
Fragment identifiers are used to indicate which font to load; these use
24032403
the PostScript name of the font as defined in <a href="#ref-RFC8081"
2404-
rel=biblioentry>[RFC8081]</a>.
2404+
rel=biblioentry>[RFC8081]</a>. Conformant
2405+
user agents must skip downloading a font resource if the fragment
2406+
identifier is unknown or unsupported. For example, older user agents which
2407+
do not support OpenType collections will skip to the next url in the list.
24052408

24062409
<pre>
24072410
src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */
@@ -5781,7 +5784,7 @@ <h3 id=om-fontface><span class=secno>8.1. </span>The <a
57815784
<pre class=idl>
57825785
interface CSSFontFaceRule : CSSRule {
57835786
readonly attribute CSSStyleDeclaration style;
5784-
}</pre>
5787+
};</pre>
57855788

57865789
<h2 class=no-num id=platform-props-to-css>Appendix A: Mapping platform font
57875790
properties to CSS properties</h2>
@@ -5868,6 +5871,8 @@ <h3 class=no-num id=recent-changes> Changes from the <a
58685871
<ul>
58695872
<li><code class=property>font-variant</code>’ descriptor moved to
58705873
Fonts 4 due to lack of implementations
5874+
5875+
<li>clarified handling of unknown fragment identifiers
58715876
</ul>
58725877

58735878
<h3 class=no-num id=less-recent-changes> Changes from the <a
@@ -6214,10 +6219,6 @@ <h3 class=no-num id=normative-references>Normative References</h3>
62146219
</dd>
62156220
<!---->
62166221

6217-
<dt id="ref-rfc8081">[RFC8081]
6218-
</dt><dd>C. Lilley. <a href="https://tools.ietf.org/html/rfc8081">The "font" Top-Level Media Type</a>. February 2017. Proposed Standard. URL: <a href="https://tools.ietf.org/html/rfc8081">https://tools.ietf.org/html/rfc8081</a>
6219-
</dd>
6220-
62216222
<dt id=ref-UAX15>[UAX15]
62226223

62236224
<dd>Mark Davis; Ken Whistler. <a
@@ -6227,6 +6228,11 @@ <h3 class=no-num id=normative-references>Normative References</h3>
62276228
</dd>
62286229
<!---->
62296230

6231+
6232+
<dt id="ref-RFC8081">[RFC8081]
6233+
</dt><dd>C. Lilley. <a href="https://tools.ietf.org/html/rfc8081">The "font" Top-Level Media Type</a>. February 2017. Proposed Standard. URL: <a href="https://tools.ietf.org/html/rfc8081">https://tools.ietf.org/html/rfc8081</a>
6234+
</dd>
6235+
62306236
<dt id=ref-UAX29>[UAX29]
62316237

62326238
<dd>Mark Davis. <a
@@ -6287,10 +6293,10 @@ <h3 class=no-num id=other-references>Other References</h3>
62876293
<dt id=ref-CHARMOD-NORM>[CHARMOD-NORM]
62886294

62896295
<dd>Addison Phillips. <a
6290-
href="http://www.w3.org/TR/2016/WD-charmod-norm-20160407/"><cite>Character
6291-
Model for the World Wide Web: String Matching and Searching.</cite></a> 7
6292-
April 2016. W3C Working Draft. (Work in progress.) URL: <a
6293-
href="http://www.w3.org/TR/2016/WD-charmod-norm-20160407/">http://www.w3.org/TR/2016/WD-charmod-norm-20160407/</a>
6296+
href="https://www.w3.org/TR/2018/WD-charmod-norm-20180420/"><cite>Character
6297+
Model for the World Wide Web: String Matching.</cite></a> 20 April 2018.
6298+
W3C Working Draft. (Work in progress.) URL: <a
6299+
href="https://www.w3.org/TR/2018/WD-charmod-norm-20180420/">https://www.w3.org/TR/2018/WD-charmod-norm-20180420/</a>
62946300
</dd>
62956301
<!---->
62966302

css-fonts-3/Fonts.src.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,10 @@ <h3 id="src-desc">Font reference: the <a href="#descdef-src">src</a> descriptor<
16251625
container formats that can contain more than one font must load one
16261626
and only one of the fonts for a given <code>@font-face</code> rule. Fragment
16271627
identifiers are used to indicate which font to load; these use the PostScript
1628-
name of the font as defined in [[!RFC8081]]. </p>
1628+
name of the font as defined in [[!RFC8081]].
1629+
Conformant user agents must skip downloading a font resource if the fragment
1630+
identifier is unknown or unsupported. For example, older user agents which
1631+
do not support OpenType collections will skip to the next url in the list. </p>
16291632

16301633
<pre>
16311634
src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */
@@ -4443,6 +4446,7 @@ <h3 class="no-num" id="recent-changes">
44434446

44444447
<ul>
44454448
<li>'font-variant' descriptor moved to Fonts 4 due to lack of implementations</li>
4449+
<li>clarified handling of unknown fragment identifiers</li>
44464450
</ul>
44474451

44484452
<h3 class="no-num" id="less-recent-changes">

css-fonts-3/Overview.html

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@
113113

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

116-
<h2 class="no-num no-toc">Editor's Draft 12 April 2018</h2>
116+
<h2 class="no-num no-toc">Editor's Draft 17 June 2018</h2>
117117

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

121121
<dd><a
122122
href="https://drafts.csswg.org/css-fonts/">https://drafts.csswg.org/css-fonts/</a>
123-
<!-- <dd><a href="https://www.w3.org/TR/2018/ED-css-fonts-3-20180412/">https://www.w3.org/TR/2018/ED-css-fonts-3-20180412/</a> -->
123+
<!-- <dd><a href="https://www.w3.org/TR/2018/ED-css-fonts-3-20180617/">https://www.w3.org/TR/2018/ED-css-fonts-3-20180617/</a> -->
124124

125125
<dt>Latest version:
126126

@@ -2401,7 +2401,10 @@ <h3 id=src-desc><span class=secno>4.3. </span>Font reference: the <a
24012401
given <a href="#at-font-face-rule"><code>@font-face</code></a> rule.
24022402
Fragment identifiers are used to indicate which font to load; these use
24032403
the PostScript name of the font as defined in <a href="#ref-RFC8081"
2404-
rel=biblioentry>[RFC8081]</a>.
2404+
rel=biblioentry>[RFC8081]</a>. Conformant
2405+
user agents must skip downloading a font resource if the fragment
2406+
identifier is unknown or unsupported. For example, older user agents which
2407+
do not support OpenType collections will skip to the next url in the list.
24052408

24062409
<pre>
24072410
src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */
@@ -5781,7 +5784,7 @@ <h3 id=om-fontface><span class=secno>8.1. </span>The <a
57815784
<pre class=idl>
57825785
interface CSSFontFaceRule : CSSRule {
57835786
readonly attribute CSSStyleDeclaration style;
5784-
}</pre>
5787+
};</pre>
57855788

57865789
<h2 class=no-num id=platform-props-to-css>Appendix A: Mapping platform font
57875790
properties to CSS properties</h2>
@@ -5868,6 +5871,8 @@ <h3 class=no-num id=recent-changes> Changes from the <a
58685871
<ul>
58695872
<li><code class=property>font-variant</code>’ descriptor moved to
58705873
Fonts 4 due to lack of implementations
5874+
5875+
<li>clarified handling of unknown fragment identifiers
58715876
</ul>
58725877

58735878
<h3 class=no-num id=less-recent-changes> Changes from the <a
@@ -6214,10 +6219,6 @@ <h3 class=no-num id=normative-references>Normative References</h3>
62146219
</dd>
62156220
<!---->
62166221

6217-
<dt id="ref-rfc8081">[RFC8081]
6218-
</dt><dd>C. Lilley. <a href="https://tools.ietf.org/html/rfc8081">The "font" Top-Level Media Type</a>. February 2017. Proposed Standard. URL: <a href="https://tools.ietf.org/html/rfc8081">https://tools.ietf.org/html/rfc8081</a>
6219-
</dd>
6220-
62216222
<dt id=ref-UAX15>[UAX15]
62226223

62236224
<dd>Mark Davis; Ken Whistler. <a
@@ -6227,6 +6228,11 @@ <h3 class=no-num id=normative-references>Normative References</h3>
62276228
</dd>
62286229
<!---->
62296230

6231+
6232+
<dt id="ref-RFC8081">[RFC8081]
6233+
</dt><dd>C. Lilley. <a href="https://tools.ietf.org/html/rfc8081">The "font" Top-Level Media Type</a>. February 2017. Proposed Standard. URL: <a href="https://tools.ietf.org/html/rfc8081">https://tools.ietf.org/html/rfc8081</a>
6234+
</dd>
6235+
62306236
<dt id=ref-UAX29>[UAX29]
62316237

62326238
<dd>Mark Davis. <a
@@ -6287,10 +6293,10 @@ <h3 class=no-num id=other-references>Other References</h3>
62876293
<dt id=ref-CHARMOD-NORM>[CHARMOD-NORM]
62886294

62896295
<dd>Addison Phillips. <a
6290-
href="http://www.w3.org/TR/2016/WD-charmod-norm-20160407/"><cite>Character
6291-
Model for the World Wide Web: String Matching and Searching.</cite></a> 7
6292-
April 2016. W3C Working Draft. (Work in progress.) URL: <a
6293-
href="http://www.w3.org/TR/2016/WD-charmod-norm-20160407/">http://www.w3.org/TR/2016/WD-charmod-norm-20160407/</a>
6296+
href="https://www.w3.org/TR/2018/WD-charmod-norm-20180420/"><cite>Character
6297+
Model for the World Wide Web: String Matching.</cite></a> 20 April 2018.
6298+
W3C Working Draft. (Work in progress.) URL: <a
6299+
href="https://www.w3.org/TR/2018/WD-charmod-norm-20180420/">https://www.w3.org/TR/2018/WD-charmod-norm-20180420/</a>
62946300
</dd>
62956301
<!---->
62966302

css-fonts-4/Overview.bs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,10 @@ a reference to the first defined font is implied. Similarly, font
13961396
container formats that can contain more than one font must load one
13971397
and only one of the fonts for a given ''@font-face'' rule. Fragment
13981398
identifiers are used to indicate which font to load; these use the PostScript
1399-
name of the font as defined in [[!RFC8081]]. </p>
1399+
name of the font as defined in [[!RFC8081]].
1400+
Conformant user agents must skip downloading a font resource if the fragment
1401+
identifier is unknown or unsupported. For example, older user agents which
1402+
do not support OpenType collections will skip to the next url in the list. </p>
14001403

14011404
<pre>
14021405
src: url(fonts/simple.woff); /* load simple.woff relative to stylesheet location */

0 commit comments

Comments
 (0)