RFR: Update tables in java.base to be HTML5-friendly.

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu May 4 15:16:21 UTC 2017



On 5/3/17 7:49 PM, Martin Buchholz wrote:
>
> w3.org <http://w3.org> doc seems to suggest we should only be defining 
> table styles with borders.
>
> https://www.w3.org/TR/html5/tabular-data.html#attr-table-border
>
> """Tables should not be used as layout aids. """
>
> """User agents, especially those that do table analysis on arbitrary 
> content, are encouraged to find heuristics to determine which tables 
> actually contain data and which are merely being used for layout. """

Understood.  The patch as provided already changes some tables with 
`summary="layout"` into definition lists.  There are additional 
candidates that would be candidates for such a change at some point.

-- Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20170504/658472ae/attachment.html>


More information about the compiler-dev mailing list