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

[CSS21] (Appendix E) Table cells not painted?

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Fri, 11 May 2012 13:21:04 +0200
Message-ID: <4FACF620.2040004@kozea.fr>
To: www-style list <www-style@w3.org>
Hi,

Table cells are mentioned in Appendix E for their background and 
borders, but not for their content.

Table cells are block containers (9.2.1), so they contain either block 
boxes or line boxes. No problem for blocks, they will be picked up by 
step 7:

 > Otherwise: first for the element, then for all its in-flow,
 > non-positioned, block-level descendants in tree order:

But if I read the appendix literally, a line box directly in a table 
cell is never painted.

To fix this, I suggest the changing step 7.2 from:

 > Otherwise, for each line box of that element:

to:

 > Otherwise, for each line box of that element (if the element is
 > a block-container) or of that elementís cells (if the element is
 > a block-level or inline-level table):

This particular wording is not very satisfactory, but I hope you 
understand the idea.

Regards,
-- 
Simon Sapin
Received on Friday, 11 May 2012 11:21:36 GMT

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