W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: [CSS21] Empty line boxes should be mentioned in 10.8

From: Anton Prowse <prowse@moonhenge.net>
Date: Tue, 03 Jan 2012 23:28:57 +0100
Message-ID: <4F038129.9060407@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
CC: Simon Sapin <simon.sapin@kozea.fr>
On 30/11/2011 11:36, Simon Sapin wrote:
> Section 10.8 of CSS 2.1 states that the line-height property defines the
> minimal height for every line box. However, the ninth paragraph of
> section 9.4.2 states that empty line boxes are to be treated as
> zero-height or non existent.
> Both statements seem to be contradictory. I think that the exception of
> empty line boxes (with "empty" as defined in 9.4.2) should be mentioned
> in 10.8.

Hi Simon,

This sentence in 9.4.2 is notorious!  However, crucially, it says that 
that certain line boxes are to be treated as zero-height for an 
explicitly-specified calculation, and as non-existent for all other 

If the line box is non-existent then there is no height, so I don't 
think the two statements are contradictory.  One could argue that the 
statement in 9.4.2 belongs in 10.8, but to be honest there are a number 
of places at which the spec could be rearranged but I don't think 
there's much value in doing so at this stage of its life cycle.

Anton Prowse
Received on Tuesday, 3 January 2012 22:29:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:09 UTC