Bugzilla – Bug 977
Allow table@sortable and correct <data>
Last modified: 2016-03-22 16:55:19 CET
Here’s an example taken from the spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-data-element <!DOCTYPE html> <title>Test</title> <table sortable> <thead> <tr> <th> Game <th> Corporations <th> Map Size <tbody> <tr> <td> 1830 <td> <data value="8">Eight</data> <td> <data value="93">19+74 hexes (93 total)</data> <tr> <td> 1856 <td> <data value="11">Eleven</data> <td> <data value="99">12+87 hexes (99 total)</data> <tr> <td> 1870 <td> <data value="10">Ten</data> <td> <data value="149">4+145 hexes (149 total)</data> </table> Currently, http://html5.validator.nu/ throws many errors when this example is entered.
*** Bug 1007 has been marked as a duplicate of this bug. ***
I get only 1 error for the sortable attribute. Sortable tables have been dropped form the spec. https://github.com/whatwg/html/issues/345