W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Scrollable Tables and HTML5

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 11 Aug 2010 22:07:36 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1008112204010.16206@ps20323.dreamhostps.com>
On Wed, 21 Jul 2010, Schalk Neethling wrote:
> I have been working on getting scrollable tables working across all 
> browsers. While there exists jQuery plugins that does the job for the 
> most part, I have to find one that works 100% and works at all in 
> Chrome. The reason I am putting this to the HTML5 list is because I am 
> wondering whether there is something in the HTML5 spec that is going to 
> aid in this regard.
> In the current HTML 4 spec 
> (http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.2.3) it is 
> stated that:
> "Table rows may be grouped into a table head, table foot, and one or 
> more table body sections, using the THEAD 
> <http://www.w3.org/TR/REC-html40/struct/tables.html#edef-THEAD> , TFOOT 
> <http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TFOOT> and 
> TBODY <http://www.w3.org/TR/REC-html40/struct/tables.html#edef-TBODY> 
> elements, respectively. This division enables user agents to support 
> scrolling of table bodies independently of the table head and foot."
> The only browser, including the IE9 previews, that has implemented this 
> behavior is Firefox. For the rest it is quite a terrible hack with 
> JavaScript to get similar behavior.  Is there any work being done get 
> UA's to implement this as a standard? Is there work being done by other 
> working groups, maybe ARIA, in this regard? Looking forward to your 
> feedback.

On Wed, 21 Jul 2010, Boris Zbarsky wrote:
> Note that the Firefox implementation was removed, because it violated 
> the CSS2.1 spec, caused compatibility problems for other browsers, and 
> was buggy to the point that it wasn't worth the effort needed to 
> maintain it (esp. given the other strikes against it).

This seems like a CSS issue -- nothing in HTML prevents browsers from 
implementing this in theory, and I don't think there's much we could do 
to help make it implementable in practice.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 11 August 2010 15:07:36 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC