W3C home > Mailing lists > Public > www-style@w3.org > March 2006

Re: overflow:scroll and tables

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 8 Mar 2006 12:36:13 -0800
To: www-style@w3.org
Message-ID: <20060308203613.GA32280@ridley.dbaron.org>
On Wednesday 2006-03-08 15:26 -0500, Adam Kuehn wrote:
> Andrew Fedoniouk wrote:
> >"One technical reason is that the overflow property does not apply to
> >tables." - why? What is this reason?
> I'm no expert, but I believe this is just for backward compatibility 
> with legacy table behavior.  You can check the "automatic" table 
> layout algorithm in the spec.  I'm pretty sure that this layout 
> algorithm is incompatible with the overflow property (or, more 
> accurately, the layout algorithm will never result in the need for 
> any value of overflow except 'visible').

The algorithm in the spec isn't well defined enough to answer that, but
in Mozilla that's not true.  Try, for example:

<table border><tr><td>
  <div style="width:100px"><div style="width:200px;border:medium solid


L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Wednesday, 8 March 2006 20:36:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:23 UTC