[Webkit-unassigned] [Bug 3239] overflow: auto should work on table sections (tbody scroll)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 22 20:48:48 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=3239





--- Comment #16 from Gérard Talbot <browserbugs at gtalbot.org>  2011-08-22 20:48:46 PST ---
(In reply to comment #10)
> Even if overflow property does not apply to table-row-group objects, 
> http://www.w3.org/TR/html401/struct/tables.html#h-11.2.3
> says: "Table rows may be grouped into a table head, table foot, and one or more table body sections, using the THEAD, TFOOT and TBODY elements, respectively. This division enables user agents to support scrolling of table bodies independently of the table head and foot."

To my knowledge, no testcase has ever been submitted with regards to this.
HTML 4.01 spec has not been maintained nor updated after its final release in dec. 1999.

There is no indication so far that HTML5 is going to suggest or state that scrolling bodies can be achieved independently of <thead> and <tfoot>:

HTML 5, section 4.9.1 Tabular data
http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#tabular-data 

HTML 5, section 4.9.5 The tbody element
http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-tbody-element


(In reply to comment #12)
> If it is not a bug 

It is not a CSS 2.1 spec violation. Overflow property does not apply to table-row-group objects (like <tbody>).

> It (...) works perfect in Firefox.

It does not work perfect in Firefox 5 and 6. Mozilla developers intentionally decided to make overflow property implemented in compliance with CSS 2.1. There is a mozilla bug report to that effect.

> It is very complicated to achieve it with javascript as no browser behaves 
> the same with scroll bar width.

You are right. It is moderately complicated with javascript but the main layout problem for web authors is that no web author can easily predict in advance the scrollbar width in various browsers, browser versions and even browser themes. 

The scrollbar width is and should be fundamentally under the full control of the user; it is definitely an accessibility issue that belongs to the user. I personally use Linux KDE and can (and I have in fact) configure such width. A scrollbar width of 15px is too narrow for me; I've set it to 19px and then to 21px for easier control, confort.

Gérard

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list