Re: HTML's table model vs @hidden & display:none

On Tue, 23 Mar 2010 18:50:19 +0100, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

> On Mon, Mar 22, 2010 at 9:23 PM, Leif Halvard Silli
> <xn--mlform-iua@xn--mlform-iua.no> wrote:
>> http://dev.w3.org/html5/spec/tabular-data.html#table-model
>>
>> I cannot see that it is said that CSS (e.g. td{display:none}) affects
>> the table model.
>
> This is implicit in the fact that the <td> no longer has  
> display:table-cell.
>
>> And I suspect that the @hidden attribute also has the
>> same effect.
>
> Actually, I'd prefer if <td hidden> acted like it was
> visibility:hidden.  The cell is currently irrelevant, but is still a
> cell in the table.
>
> Ian, any chance we could get this in the default UA stylesheet?

I think visibility:collapse is better than visibility:hidden for  
thead,tbody,tfoot,tr,td,th.

-- 
Simon Pieters
Opera Software

Received on Tuesday, 23 March 2010 22:31:13 UTC