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

Re: overflow:scroll and tables

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Wed, 8 Mar 2006 12:07:32 -0800
Message-ID: <009c01c642eb$ef43e5f0$c302000a@internal.toppro.net>
To: <www-style@w3.org>, "Adam Kuehn" <akuehn@nc.rr.com>

Thanks, Adam,

----- Original Message ----- 
From: "Adam Kuehn" <akuehn@nc.rr.com>
Subject: Re: overflow:scroll and tables

| Andrew Fedoniouk wrote:
| >Does anybody know any technical or formal reason of why
| >following does not work in any (known to me) UA:
| >
| ><table style="overflow:auto; width:100px; height:100px">
| >   ....
| ></table>
| One technical reason is that the overflow property does not apply to 
| tables.  It should be ignored in the scenario you outline.  Another 
| technical reason is that the 'auto' value of the overflow property is 
| explicitly UA-dependent.  See 
| <http://www.w3.org/TR/CSS21/visufx.html#overflow>.

This is actually my question: 
"One technical reason is that the overflow property does not apply to 
tables." - why? What is this reason?

| However, the real reason appears to be that UAs (well, OK, Firefox - 
| I didn't take the time to conduct universal testing) ignore all 
| overflow values on any display: table* objects, even table cells, to 
| which the property is supposed to apply.  The overflow property works 
| as advertised if the display value is changed to block.

Yep, this is why I am asking. Seems like there are no formal reasons
why <table> or <td> should not be scrollable but seems like 
UA vendors reached some silent agreement in this area. So is the question.

Andrew Fedoniouk
Received on Wednesday, 8 March 2006 20:07:45 UTC

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