- From: Bert Bos <bert@w3.org>
- Date: Fri, 4 Mar 2011 17:09:54 +0100
- To: W3C style mailing list <www-style@w3.org>
(See http://wiki.csswg.org/spec/css2.1#issue-181) The first list item in section 10.8 (Line height calculations: the 'line-height' and 'vertical-align' properties[1]) in the current draft says: | 1. The height of each inline-level box in the line box is calculated | (see "Calculating heights and margins" and the 'line-height' | property). That is confusing, because the height is not the content height and you have to follow the links to know what height it actually is. I had an action to make this clear and this is my change: 1. The height of each inline-level box in the line box is calculated. For replaced elements, inline-block elements, and inline-table elements, this is the height of their margin box; for inline boxes, this is their 'line-height'. (See "Calculating heights and margins" and the height of inline boxes in "Leading and half- leading".) This paragraph in 10.6.2[2] is then no longer needed and can be removed: | For 'inline' and 'inline-block' elements, the margin box is used when | calculating the height of the line box. [1] http://www.w3.org/TR/2010/WD-CSS2-20101207/visudet.html#line-height [2] http://www.w3.org/TR/2010/WD-CSS2-20101207/visudet.html#inline- replaced-height 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, 4 March 2011 16:10:23 UTC