- From: Bert Bos <bert@w3.org>
- Date: Fri, 20 Aug 2010 18:28:54 +0200
- To: www-style@w3.org
This is text to resolve issue 121[1], which refers to item 9 in Anton Prowse's e-mail[2]. Modify these two paragraphs in 10.8.1[3] as follows (indicated with <del>/<ins>): When an element contains text that is rendered in more than one font, user agents may determine the <ins>'normal'<ins> 'line-height' value according to the largest font size. Generally, when there is only one value of 'line-height' for all inline boxes in a <del>paragraph</del> <ins>block-level box</ins> (and no <del>tall images</del> <ins>replaced elements, inline-block elements, etc.</ins>), the above will ensure that baselines of successive lines are exactly 'line-height' apart. This is important when columns of text in different fonts have to be aligned, for example in a table. I clarified that only the 'normal' value of 'line-height' is UA-dependent, and replaced the imprecise terms "paragraph" and "tall images." I didn't replace "generally" by "for example," because it is not an example, but the reason (use case) for the first paragraph. (All UAs that I know of use scalable fonts nowadays and so in practice it will be quite rare that the fallback fonts are of a different size than the first font.) [1] http://wiki.csswg.org/spec/css2.1#issue-121 [2] http://lists.w3.org/Archives/Public/www-style/2009Mar/0004.html [3] http://www.w3.org/TR/2009/CR-CSS2-20090908/visudet.html#leading Bert -- Bert Bos ( W 3 C ) http://www.w3.org/ http://www.w3.org/people/bos W3C/ERCIM bert@w3.org 2004 Rt des Lucioles / BP 93 +33 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
Received on Friday, 20 August 2010 16:29:22 UTC