W3C home > Mailing lists > Public > www-style@w3.org > February 2011

[CSS21] Height of block whose child has 0 height and/or clearance

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Tue, 08 Feb 2011 13:47:57 +0100
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.vqk4h6mebunlto@oyvinds-desktop>
This is related to the "Floating - who's right?" thread. The 10.6.3 text  
seems to have multiple problems.

1. Talks about "child box"es even though the formatting structure is  
basically undefined (if interpreted as "child element's box" it's even  
more broken)

2. In the "block-level children" case, defines height as the distance  
between edges of boxes that do not have margins collapsed through it -  
what if there is no such box?

3. What if the "topmost block-level child box" has clearance? This case  
doesn't seem to be considered.

4. The case of no content at all probably requires special mention too

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Tuesday, 8 February 2011 12:48:31 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:37 GMT