Skip to content

Commit af19d7e

Browse files
committed
[fonts-3] Fix some of the dfns claiming to define common terms.
1 parent bf27859 commit af19d7e

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

css-fonts/Fonts.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
rel=dcterms.rights>
1414
<meta content="CSS Fonts Module Level 3" name=dcterms.title>
1515
<meta content=text name=dcterms.type>
16-
<meta content=2017-04-19 name=dcterms.date>
16+
<meta content=2017-06-07 name=dcterms.date>
1717
<meta content="John Daggett" name=dcterms.creator>
1818
<meta content="Myles C. Maxfield" name=dcterms.creator>
1919
<meta content=W3C name=dcterms.publisher>
@@ -124,14 +124,14 @@
124124

125125
<h1>CSS Fonts Module Level 3</h1>
126126

127-
<h2 class="no-num no-toc">Editor's Draft 19 April 2017</h2>
127+
<h2 class="no-num no-toc">Editor's Draft 7 June 2017</h2>
128128

129129
<dl id=authors>
130130
<dt>This version:
131131

132132
<dd><a
133133
href="https://drafts.csswg.org/css-fonts/">https://drafts.csswg.org/css-fonts/</a>
134-
<!-- <dd><a href="https://www.w3.org/TR/2017/ED-css-fonts-3-20170419/">https://www.w3.org/TR/2017/ED-css-fonts-3-20170419/</a> -->
134+
<!-- <dd><a href="https://www.w3.org/TR/2017/ED-css-fonts-3-20170607/">https://www.w3.org/TR/2017/ED-css-fonts-3-20170607/</a> -->
135135

136136
<dt>Latest version:
137137

@@ -1501,7 +1501,7 @@ <h3 id=font-size-prop><span class=secno>3.5. </span>Font size: the <a
15011501
user agent may have to extrapolate table values if the numerical value
15021502
goes beyond the keywords.
15031503

1504-
<dt><dfn
1504+
<dt><dfn data-dfn-for=font-size data-dfn-type=value
15051505
id=length-percentage-size-value><var>&lt;length-percentage&gt;</var></dfn>
15061506

15071507
<dd>
@@ -1752,7 +1752,8 @@ <h3 id=font-size-adjust-prop><span class=secno>3.6. </span>Relative sizing:
17521752

17531753
<dd>Do not preserve the font's x-height.
17541754

1755-
<dt><dfn id=aspect-ratio-value><var>&lt;number&gt;</var></dfn>
1755+
<dt><dfn data-dfn-for=font-size-adjust data-dfn-type=value
1756+
id=aspect-ratio-value><var>&lt;number&gt;</var></dfn>
17561757

17571758
<dd>Specifies the <a href="#aspect-value"><i>aspect value</i></a> used in
17581759
the calculation below to calculate the adjusted font size:
@@ -2799,7 +2800,8 @@ <h3 id=unicode-range-desc><span class=secno>4.5. </span>Character range:
27992800
agents when deciding whether or not to download a font resource for a
28002801
given text run.
28012802

2802-
<p>Each <dfn id=urange-value><var>&lt;urange&gt;</var></dfn> value is a <a
2803+
<p>Each <dfn data-dfn-for=unicode-range data-dfn-type=value
2804+
id=urange-value><var>&lt;urange&gt;</var></dfn> value is a <a
28032805
href="https://www.w3.org/TR/CSS21/syndata.html#tokenization"><code
28042806
title="UNICODE-RANGE token">UNICODE-RANGE</code></a> token made up of a
28052807
"U+" or "u+" prefix followed by a codepoint range in one of the three
@@ -3251,7 +3253,7 @@ <h3 id=font-family-casing><span class=secno>5.1. </span>Case sensitivity of
32513253
in a stylesheet. Authors should take care to ensure that names use a
32523254
character sequence consistent with the actual font family name,
32533255
particularly when using combining characters such as diacritical marks.
3254-
For example, a family name that contains an uppercase A (U+0041) followed
3256+
For example, a family name that contains a lowercase a (U+0061) followed
32553257
by a combining ring (U+030A) will <strong>not</strong> match a name that
32563258
looks identical but which uses the precomposed lowercase a-ring character
32573259
(U+00E5) instead of the combining sequence.
@@ -5710,7 +5712,7 @@ <h3 id=font-language-override-prop><span class=secno>6.13. </span>Font
57105712
<dd>specifies that when rendering with OpenType fonts, the content
57115713
language of the element is used to infer the OpenType language system
57125714

5713-
<dt><dfn
5715+
<dt><dfn data-dfn-for=font-language-override data-dfn-type=value
57145716
id=font-language-override-string-value><var>&lt;string&gt;</var></dfn>
57155717

57165718
<dd>single three-letter case-sensitive OpenType <a

css-fonts/Fonts.src.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ <h3 id="font-size-prop">Font size: the <a href="#propdef-font-size">font-size</a
937937
agent may have to extrapolate table values if the numerical value
938938
goes beyond the keywords.
939939

940-
<dt><dfn id="length-percentage-size-value"><var>&lt;length-percentage&gt;</var></dfn>
940+
<dt><dfn data-dfn-type=value data-dfn-for=font-size id="length-percentage-size-value"><var>&lt;length-percentage&gt;</var></dfn>
941941
<dd><p>A length value specifies an absolute font size
942942
(independent of the user agent's font table).
943943
Negative lengths are invalid.
@@ -1124,7 +1124,7 @@ <h3 id="font-size-adjust-prop">Relative sizing: the <a href="#propdef-font-size-
11241124
<dt><dfn id="font-size-adjust-none-value" title="none!!font-size-adjust">none</dfn>
11251125
<dd>Do not preserve the font's x-height.
11261126

1127-
<dt><dfn id="aspect-ratio-value"><var>&lt;number&gt;</var></dfn>
1127+
<dt><dfn data-dfn-type=value data-dfn-for=font-size-adjust id="aspect-ratio-value"><var>&lt;number&gt;</var></dfn>
11281128

11291129
<dd>Specifies the <i>aspect value</i> used in the calculation below to calculate the adjusted
11301130
font size:
@@ -1968,7 +1968,7 @@ <h3 id="unicode-range-desc">Character range: the <a href="#descdef-unicode-range
19681968
serves as a hint for user agents when deciding whether or not to
19691969
download a font resource for a given text run.</p>
19701970

1971-
<p>Each <dfn id="urange-value"><var>&lt;urange&gt;</var></dfn> value is a
1971+
<p>Each <dfn data-dfn-type=value data-dfn-for=unicode-range id="urange-value"><var>&lt;urange&gt;</var></dfn> value is a
19721972
<a href="https://www.w3.org/TR/CSS21/syndata.html#tokenization"><code title="UNICODE-RANGE token">UNICODE-RANGE</code></a>
19731973
token made up of a "U+" or "u+" prefix
19741974
followed by a codepoint range in one of the three forms listed below.
@@ -4246,7 +4246,7 @@ <h3 id="font-language-override-prop">Font language override: the <a href="#propd
42464246
<dt><dfn id="font-language-override-normal-value" title="normal!!font-language-override">normal</dfn></dt>
42474247
<dd>specifies that when rendering with OpenType fonts,
42484248
the content language of the element is used to infer the OpenType language system</dd>
4249-
<dt><dfn id="font-language-override-string-value"><var>&lt;string&gt;</var></dfn></dt>
4249+
<dt><dfn data-dfn-type=value data-dfn-for=font-language-override id="font-language-override-string-value"><var>&lt;string&gt;</var></dfn></dt>
42504250
<dd>single three-letter case-sensitive OpenType <a href="https://www.microsoft.com/typography/otspec/languagetags.htm">language system tag</a>,
42514251
specifies the OpenType language system to be used instead of the language system implied by the language of the element</dd>
42524252
</dl>

0 commit comments

Comments
 (0)