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

Re: [CSS21] Proposal for a replacement for section 17.2.1 (table anonymous objects)

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 30 May 2009 21:14:24 -0400
Message-ID: <4A21D9F0.7090001@mit.edu>
To: Brad Kemper <brad.kemper@gmail.com>
CC: www-style list <www-style@w3.org>
Brad Kemper wrote:
>> 3) If a box T is not a 'table-column' box and has a parent P which is a
>>   'table-column-group' box, discard T.
> 
> Does it go without saying that if the display of parent P ever changed 
> to, say, a table-body box or table-row box (via JavaScript, for 
> instance), that you may need to re-insert T? Or that if T changed its 
> display to 'table-column', that it should be re-inserted?

I would think so; it ought to be a fundamental principle, if it's not 
already, that the box tree (and layout) only depends on the current 
computed values of properties for all the nodes, not on their history... 
  Hysteresis, while observed in some UAs in some cases, is highly 
undesirable, in my opinion.

If desired, we could probably make display compute to none in cases like 
this instead of having the rule about throwing out the box.  It probably 
doesn't matter much either way; all that's affected is what the DOM 
style APIs return for the relevant nodes; the rendering is the same 
either way.

-Boris
Received on Sunday, 31 May 2009 01:15:06 GMT

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