This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24678 - is this reflected by data?
Summary: is this reflected by data?
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P3 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: a11y
Depends on:
Blocks:
 
Reported: 2014-02-15 11:33 UTC by steve faulkner
Modified: 2015-06-17 03:45 UTC (History)
5 users (show)

See Also:


Attachments

Description steve faulkner 2014-02-15 11:33:22 UTC
"The use of the border attribute with a value other than 0 	Probably a non-layout table "
http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#the-table-element
Comment 1 Leif Halvard Silli 2014-02-16 01:25:17 UTC
Does this bug also look for data to show that border="0" equals layout tables? After all, that is another claim that HTML5 makes.
Comment 2 Leif Halvard Silli 2014-02-16 01:57:25 UTC
Are AT data also relevent? For VoiceOver+Safari, by default border="1" does indeed cause it to treat the table as a ”data table”. CSS borders have the same effect. Could be - for instance - that Apple did base this on data.
Comment 3 Leif Halvard Silli 2014-02-21 22:54:25 UTC
James pointed[1] to the source code of Webkit’s layout table heuristics.[2] 

It does not have do anything special with table@border. All it does is that it looks for whether the table has borders, via CSS or via @border. (In both cases, borders are implemented via CSS anyway.)

With the caveat that the borders thaat border=1 causes are not overruled via CSS, this means that we have data, from one user agent, to back up the spec’s claim that <table border="1"> indicates non-layout table.

[1] http://lists.w3.org/Archives/Public/public-html-a11y/2014Feb/0063.html
[2] http://trac.webkit.org/browser/trunk/Source/WebCore/accessibility/AccessibilityTable.cpp#L93
Comment 4 Leif Halvard Silli 2014-02-22 18:36:07 UTC
I suppose this is relevant:

Firefox
IsProbablyForLayout
http://mxr.mozilla.org/mozilla-central/ident?i=IsProbablyForLayout
Comment 5 Leif Halvard Silli 2014-02-25 16:39:23 UTC
Steve,  this bug seems to be of the same ”nature” - and in the same status - as bug 24679.  While not terribly important, I think its status therefore ought to be ”RESOLVED NEEDSINFO”.
Comment 6 Leif Halvard Silli 2014-02-25 19:19:31 UTC
Link to Alex’ blog post about data table heuristics in Firefox:
http://asurkov.blogspot.ca/2011/10/data-vs-layout-table.html
Quote: ”Table having borders around cells is data table“
Comment 7 Michael[tm] Smith 2015-06-17 03:45:06 UTC
related to bug 24591 and bug 24679 but doesn't seem to be important enough to anybody to keep open any longer. Anybody who feels otherwise can of course re-open it.