Wed, 28 Aug 2013 10:10:26 +0900
[css3-fonts] add note about line-height to font-size-adjust description
css-fonts/Fonts.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css-fonts/Fonts.html Tue Aug 27 15:26:29 2013 -0700 1.2 +++ b/css-fonts/Fonts.html Wed Aug 28 10:10:26 2013 +0900 1.3 @@ -115,15 +115,15 @@ 1.4 1.5 <h1>CSS Fonts Module Level 3</h1> 1.6 1.7 - <h2 class="no-num no-toc" id=editors-draft-26-august-2013>Editor's Draft 1.8 - 26 August 2013</h2> 1.9 + <h2 class="no-num no-toc" id=editors-draft-28-august-2013>Editor's Draft 1.10 + 28 August 2013</h2> 1.11 1.12 <dl id=authors> 1.13 <dt>This version: 1.14 1.15 <dd><a 1.16 href="http://dev.w3.org/csswg/css-fonts/">http://dev.w3.org/csswg/css-fonts/</a> 1.17 - <!-- <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> --> 1.18 + <!-- <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> --> 1.19 1.20 1.21 <dt>Latest version: 1.22 @@ -1746,6 +1746,22 @@ 1.23 <code>ex</code> and <code>ch</code> but does not affect the size of 1.24 <code>em</code> units. 1.25 1.26 + <p class=note>In CSS, authors typically specify <a 1.27 + href="http://www.w3.org/TR/CSS2/visudet.html#propdef-line-height">‘<code 1.28 + class=property>line-height</code>’</a> using <a 1.29 + href="http://dev.w3.org/csswg/css-values/#em-unit">‘<code 1.30 + class=property>em</code>’</a> units so that the <a 1.31 + href="http://www.w3.org/TR/CSS2/visudet.html#propdef-line-height">‘<code 1.32 + class=property>line-height</code>’</a> is linked to the font size. Since 1.33 + the ‘<a href="#propdef-font-size-adjust"><code 1.34 + class=property>font-size-adjust</code></a>’ property affects the font 1.35 + size used but does not affect the size of font relative units, authors 1.36 + should take care setting the line height when ‘<a 1.37 + href="#propdef-font-size-adjust"><code 1.38 + class=property>font-size-adjust</code></a>’ is used. Setting the line 1.39 + height too tightly could result in overlapping lines of text in this 1.40 + situation. 1.41 + 1.42 <p>Authors can calculate the <a href="#aspect-value"><i>aspect 1.43 value</i></a> for a given font by comparing spans with the same content 1.44 but different font-size-adjust properties. If the same font-size is used, 1.45 @@ -6108,20 +6124,19 @@ 1.46 <dt id=CSS3VAL>[CSS3VAL] 1.47 1.48 <dd>Håkon Wium Lie; Tab Atkins; Elika J. Etemad. <a 1.49 - href="http://www.w3.org/TR/2013/CR-css3-values-20130404/"><cite>CSS 1.50 - Values and Units Module Level 3.</cite></a> 4 April 2013. W3C Candidate 1.51 + href="http://www.w3.org/TR/2013/CR-css3-values-20130730/"><cite>CSS 1.52 + Values and Units Module Level 3.</cite></a> 30 July 2013. W3C Candidate 1.53 Recommendation. (Work in progress.) URL: <a 1.54 - href="http://www.w3.org/TR/2013/CR-css3-values-20130404/">http://www.w3.org/TR/2013/CR-css3-values-20130404/</a> 1.55 + href="http://www.w3.org/TR/2013/CR-css3-values-20130730/">http://www.w3.org/TR/2013/CR-css3-values-20130730/</a> 1.56 </dd> 1.57 <!----> 1.58 1.59 <dt id=HTML5>[HTML5] 1.60 1.61 - <dd>Ian Hickson. <a 1.62 - href="http://www.w3.org/TR/2012/CR-html5-20121217/"><cite>HTML5.</cite></a> 1.63 - 17 December 2012. W3C Candidate Recommendation. (Work in progress.) URL: 1.64 - <a 1.65 - href="http://www.w3.org/TR/2012/CR-html5-20121217/">http://www.w3.org/TR/2012/CR-html5-20121217/</a> 1.66 + <dd>Robin Berjon; et al. <a 1.67 + href="http://www.w3.org/TR/2013/CR-html5-20130806/"><cite>HTML5.</cite></a> 1.68 + 6 August 2013. W3C Candidate Recommendation. (Work in progress.) URL: <a 1.69 + href="http://www.w3.org/TR/2013/CR-html5-20130806/">http://www.w3.org/TR/2013/CR-html5-20130806/</a> 1.70 </dd> 1.71 <!----> 1.72