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

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 UTC