- From: L. David Baron <dbaron@dbaron.org>
- Date: Wed, 8 Sep 2010 08:49:36 -0700
- To: Bert Bos <bert@w3.org>
- Cc: www-style@w3.org
On Friday 2010-08-20 18:28 +0200, Bert Bos wrote: > 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 don't think the "Generally" statement is actually true unless there's also only one font, since the half-leading may need to be added to a height that comes from the bounds of different fonts. (It's actually undefined, since 10.6.1 doesn't say what the height of the content area is based on, but the final paragraph of 10.6.1 suggests that the height is chosen to match the union of all the fonts, which means it will likely be taller than any one of them.) But otherwise this seems fine. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/
Received on Wednesday, 8 September 2010 15:50:09 UTC