Skip to content

Commit 9b5b37a

Browse files
author
John Daggett
committed
[css3-fonts] add note about line-height to font-size-adjust description
1 parent 3de4c5f commit 9b5b37a

1 file changed

Lines changed: 26 additions & 11 deletions

File tree

css-fonts/Fonts.html

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@
115115

116116
<h1>CSS Fonts Module Level 3</h1>
117117

118-
<h2 class="no-num no-toc" id=editors-draft-26-august-2013>Editor's Draft
119-
26 August 2013</h2>
118+
<h2 class="no-num no-toc" id=editors-draft-28-august-2013>Editor's Draft
119+
28 August 2013</h2>
120120

121121
<dl id=authors>
122122
<dt>This version:
123123

124124
<dd><a
125125
href="http://dev.w3.org/csswg/css-fonts/">http://dev.w3.org/csswg/css-fonts/</a>
126-
<!-- <dd><a href="http://www.w3.org/TR/2013/ED-css-fonts-3-20130826/">http://www.w3.org/TR/2013/ED-css-fonts-3-20130826/</a> -->
126+
<!-- <dd><a href="http://www.w3.org/TR/2013/ED-css-fonts-3-20130828/">http://www.w3.org/TR/2013/ED-css-fonts-3-20130828/</a> -->
127127

128128

129129
<dt>Latest version:
@@ -1746,6 +1746,22 @@ <h3 id=font-size-adjust-prop><span class=secno>3.6 </span>Relative sizing:
17461746
<code>ex</code> and <code>ch</code> but does not affect the size of
17471747
<code>em</code> units.
17481748

1749+
<p class=note>In CSS, authors typically specify <a
1750+
href="http://www.w3.org/TR/CSS2/visudet.html#propdef-line-height"><code
1751+
class=property>line-height</code></a> using <a
1752+
href="http://dev.w3.org/csswg/css-values/#em-unit"><code
1753+
class=property>em</code></a> units so that the <a
1754+
href="http://www.w3.org/TR/CSS2/visudet.html#propdef-line-height"><code
1755+
class=property>line-height</code></a> is linked to the font size. Since
1756+
the ‘<a href="#propdef-font-size-adjust"><code
1757+
class=property>font-size-adjust</code></a>’ property affects the font
1758+
size used but does not affect the size of font relative units, authors
1759+
should take care setting the line height when ‘<a
1760+
href="#propdef-font-size-adjust"><code
1761+
class=property>font-size-adjust</code></a>’ is used. Setting the line
1762+
height too tightly could result in overlapping lines of text in this
1763+
situation.
1764+
17491765
<p>Authors can calculate the <a href="#aspect-value"><i>aspect
17501766
value</i></a> for a given font by comparing spans with the same content
17511767
but different font-size-adjust properties. If the same font-size is used,
@@ -6108,20 +6124,19 @@ <h3 class=no-num id=normative-references>Normative References</h3>
61086124
<dt id=CSS3VAL>[CSS3VAL]
61096125

61106126
<dd>Håkon Wium Lie; Tab Atkins; Elika J. Etemad. <a
6111-
href="http://www.w3.org/TR/2013/CR-css3-values-20130404/"><cite>CSS
6112-
Values and Units Module Level 3.</cite></a> 4 April 2013. W3C Candidate
6127+
href="http://www.w3.org/TR/2013/CR-css3-values-20130730/"><cite>CSS
6128+
Values and Units Module Level 3.</cite></a> 30 July 2013. W3C Candidate
61136129
Recommendation. (Work in progress.) URL: <a
6114-
href="http://www.w3.org/TR/2013/CR-css3-values-20130404/">http://www.w3.org/TR/2013/CR-css3-values-20130404/</a>
6130+
href="http://www.w3.org/TR/2013/CR-css3-values-20130730/">http://www.w3.org/TR/2013/CR-css3-values-20130730/</a>
61156131
</dd>
61166132
<!---->
61176133

61186134
<dt id=HTML5>[HTML5]
61196135

6120-
<dd>Ian Hickson. <a
6121-
href="http://www.w3.org/TR/2012/CR-html5-20121217/"><cite>HTML5.</cite></a>
6122-
17 December 2012. W3C Candidate Recommendation. (Work in progress.) URL:
6123-
<a
6124-
href="http://www.w3.org/TR/2012/CR-html5-20121217/">http://www.w3.org/TR/2012/CR-html5-20121217/</a>
6136+
<dd>Robin Berjon; et al. <a
6137+
href="http://www.w3.org/TR/2013/CR-html5-20130806/"><cite>HTML5.</cite></a>
6138+
6 August 2013. W3C Candidate Recommendation. (Work in progress.) URL: <a
6139+
href="http://www.w3.org/TR/2013/CR-html5-20130806/">http://www.w3.org/TR/2013/CR-html5-20130806/</a>
61256140
</dd>
61266141
<!---->
61276142

0 commit comments

Comments
 (0)