Skip to content

Commit 5760336

Browse files
committed
[css-values] Link to 'first available font'
1 parent 07a903a commit 5760336

2 files changed

Lines changed: 47 additions & 19 deletions

File tree

css-values/Overview.html

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
rel=dcterms.rights>
1212
<meta content="CSS Values and Units Module Level 3" name=dcterms.title>
1313
<meta content=text name=dcterms.type>
14-
<meta content=2013-07-08 name=dcterms.date>
14+
<meta content=2013-07-10 name=dcterms.date>
1515
<meta content="Håkon Wium Lie" name=dcterms.creator>
1616
<meta content="Tab Atkins" name=dcterms.creator>
1717
<meta content="Elika J. Etemad" name=dcterms.creator>
1818
<meta content=W3C name=dcterms.publisher>
19-
<meta content="http://www.w3.org/TR/2013/CR-css3-values-20130708/"
19+
<meta content="http://www.w3.org/TR/2013/CR-css3-values-20130710/"
2020
name=dcterms.identifier>
2121
<style type="text/css">
2222
code, small { white-space: nowrap }
@@ -42,14 +42,14 @@
4242
<h1 class=p-name>CSS Values and Units Module Level 3</h1>
4343

4444
<h2 class="no-num no-toc" id=longstatus-date>W3C Candidate Recommendation
45-
<span class=dt-updated><span class=value title=20130708> 8 July
45+
<span class=dt-updated><span class=value title=20130710>10 July
4646
2013</span></span></h2>
4747

4848
<dl>
4949
<dt>This version:
5050

5151
<dd><a class=u-url
52-
href="http://www.w3.org/TR/2013/CR-css3-values-20130708/">http://www.w3.org/TR/2013/CR-css3-values-20130708/</a>
52+
href="http://www.w3.org/TR/2013/CR-css3-values-20130710/">http://www.w3.org/TR/2013/CR-css3-values-20130710/</a>
5353

5454
<dt>Latest version:
5555

@@ -976,8 +976,8 @@ <h4 id=font-relative-lengths><span class=secno>5.1.1. </span> Font-relative
976976

977977
<p>Aside from ‘<a href="#rem-unit"><code class=css>rem</code></a>
978978
(which refers to the font-size of the root element), the font-relative
979-
lengths refer to the computed font metrics of the element on which they
980-
are used. The exception is when they occur in the value of the ‘<code
979+
lengths refer to the font metrics of the element on which they are used.
980+
The exception is when they occur in the value of the ‘<code
981981
class=property>font-size</code>’ property itself, in which case they
982982
refer to the computed font metrics of the parent element (or the computed
983983
font metrics corresponding to the initial values of the ‘<code
@@ -1010,10 +1010,13 @@ <h4 id=font-relative-lengths><span class=secno>5.1.1. </span> Font-relative
10101010
<dt><dfn id=ex-unit title=ex>ex unit</dfn>
10111011

10121012
<dd>
1013-
<p>Equal to the font's x-height. The x-height is so called because it is
1014-
often equal to the height of the lowercase "x". However, an ‘<a
1015-
href="#ex-unit"><code class=css>ex</code></a>’ is defined even for
1016-
fonts that do not contain an "x".
1013+
<p>Equal to the used x-height of the <a
1014+
href="http://www.w3.org/TR/css3-fonts/#first-available-font">first
1015+
available font</a>. <a href="#CSS3-FONTS"
1016+
rel=biblioentry>[CSS3-FONTS]<!--{{!CSS3-FONTS}}--></a> The x-height is
1017+
so called because it is often equal to the height of the lowercase "x".
1018+
However, an ‘<a href="#ex-unit"><code class=css>ex</code></a>’ is
1019+
defined even for fonts that do not contain an "x".
10171020

10181021
<p>The x-height of a font can be found in different ways. Some fonts
10191022
contain reliable metrics for the x-height. If reliable font metrics are
@@ -1027,8 +1030,8 @@ <h4 id=font-relative-lengths><span class=secno>5.1.1. </span> Font-relative
10271030
<dt><dfn id=ch-unit title=ch>ch unit</dfn>
10281031

10291032
<dd>
1030-
<p>Equal to the advance measure of the "0" (ZERO, U+0030) glyph found in
1031-
the font used to render it.
1033+
<p>Equal to the used advance measure of the "0" (ZERO, U+0030) glyph
1034+
found in the font used to render it.
10321035

10331036
<dt><dfn id=rem-unit title=rem>rem unit</dfn>
10341037

@@ -2302,7 +2305,7 @@ <h3 class=no-num id=cr-exit-criteria> CR exit criteria</h3>
23022305
<h2 class=no-num id=changes>Changes</h2>
23032306

23042307
<p>Changes since the <a
2305-
href="http://www.w3.org/TR/2012/CR-css3-values-20120828/">28 August
2308+
href="http://www.w3.org/TR/2012/CR-css3-values-20120828/">28 August 2012
23062309
Candidate Recommendation</a> are:
23072310

23082311
<ul>
@@ -2336,6 +2339,15 @@ <h2 class=no-num id=changes>Changes</h2>
23362339
other specs.
23372340
</ul>
23382341

2342+
<p>Changes since the <a
2343+
href="http://www.w3.org/TR/2013/CR-css3-values-20130404/">4 April 2013
2344+
Candidate Recommendation</a> are:
2345+
2346+
<ul>
2347+
<li>Clarified definition of ‘<a href="#ex-unit"><code
2348+
class=css>ex</code></a>’ to refer to the “first available font”.
2349+
</ul>
2350+
23392351
<h2 class=no-num id=references>References</h2>
23402352

23412353
<h3 class=no-num id=normative-references>Normative references</h3>
@@ -2356,6 +2368,16 @@ <h3 class=no-num id=normative-references>Normative references</h3>
23562368
</dd>
23572369
<!---->
23582370

2371+
<dt id=CSS3-FONTS>[CSS3-FONTS]
2372+
2373+
<dd>John Daggett. <a
2374+
href="http://www.w3.org/TR/2013/WD-css3-fonts-20130212/"><cite>CSS Fonts
2375+
Module Level 3.</cite></a> 12 February 2013. W3C Working Draft. (Work in
2376+
progress.) URL: <a
2377+
href="http://www.w3.org/TR/2013/WD-css3-fonts-20130212/">http://www.w3.org/TR/2013/WD-css3-fonts-20130212/</a>
2378+
</dd>
2379+
<!---->
2380+
23592381
<dt id=CSS3-IMAGES>[CSS3-IMAGES]
23602382

23612383
<dd>Elika J. Etemad; Tab Atkins Jr. <a

css-values/Overview.src.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ <h4 id="font-relative-lengths">
594594
Font-relative lengths: the ''em'', ''ex'', ''ch'', ''rem'' units</h4>
595595

596596
<p>Aside from ''rem'' (which refers to the font-size of the root element),
597-
the font-relative lengths refer to the computed font metrics of the
597+
the font-relative lengths refer to the font metrics of the
598598
element on which they are used.
599599
The exception is when they occur in the value of the 'font-size' property
600600
itself, in which case they refer to the computed font metrics of the parent element
@@ -618,9 +618,9 @@ <h4 id="font-relative-lengths">
618618
</div>
619619

620620
<dt><dfn title="ex">ex unit</dfn>
621-
<dd><p>Equal to the font's x-height. The x-height is so called because
622-
it is often equal to the height of the lowercase "x". However, an
623-
''ex'' is defined even for fonts that do not contain an "x".
621+
<dd><p>Equal to the used x-height of the <a href="http://www.w3.org/TR/css3-fonts/#first-available-font">first available font</a>. [[!CSS3-FONTS]]
622+
The x-height is so called because it is often equal to the height of the lowercase "x".
623+
However, an ''ex'' is defined even for fonts that do not contain an "x".
624624
<p>The x-height of a font can be found in different ways. Some fonts
625625
contain reliable metrics for the x-height. If reliable font metrics
626626
are not available, UAs may determine the x-height from the height
@@ -631,7 +631,7 @@ <h4 id="font-relative-lengths">
631631
a value of 0.5em must be assumed.
632632

633633
<dt><dfn title="ch">ch unit</dfn>
634-
<dd><p>Equal to the advance measure of the "0" (ZERO, U+0030) glyph
634+
<dd><p>Equal to the used advance measure of the "0" (ZERO, U+0030) glyph
635635
found in the font used to render it.
636636

637637
<dt><dfn title="rem">rem unit</dfn>
@@ -1782,7 +1782,7 @@ <h3 class="no-num" id="cr-exit-criteria">
17821782

17831783
<h2 class="no-num" id="changes">Changes</h2>
17841784

1785-
<p>Changes since the <a href="http://www.w3.org/TR/2012/CR-css3-values-20120828/">28 August Candidate Recommendation</a> are:
1785+
<p>Changes since the <a href="http://www.w3.org/TR/2012/CR-css3-values-20120828/">28 August 2012 Candidate Recommendation</a> are:
17861786

17871787
<ul>
17881788
<li>Corrected <code>wqname</code> in the ''attr()'' syntax to <code>qname</code>
@@ -1797,6 +1797,12 @@ <h2 class="no-num" id="changes">Changes</h2>
17971797
<li>Specified that the list of <i>CSS-wide keywords</i> may be expanded by other specs.
17981798
</ul>
17991799

1800+
<p>Changes since the <a href="http://www.w3.org/TR/2013/CR-css3-values-20130404/">4 April 2013 Candidate Recommendation</a> are:
1801+
1802+
<ul>
1803+
<li>Clarified definition of ''ex'' to refer to the “first available font”.
1804+
</ul>
1805+
18001806
<h2 class="no-num" id="references">References</h2>
18011807

18021808
<h3 class="no-num">Normative references</h3>

0 commit comments

Comments
 (0)