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

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Fri, 11 May 2012 13:47:39 +0200
Message-ID: <4FACFC5B.20409@kozea.fr>
To: www-style@w3.org
Le 11/05/2012 13:21, Simon Sapin a écrit :
> 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.


Actually, this is probably a better fix: change step 7 from

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

to:

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

This new fix handle replaced cells as well.

-- 
Simon Sapin
Received on Friday, 11 May 2012 11:48:06 GMT

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