Re: Validator flags TH ABBR as obsolete but it's not listed as obsolete in HTML 5.0 Rec, 5.1 draft or WhatWG specs
"Michael[tm] Smith" <[email protected]> Tue, 13 Jan 2015 10:20:00 +0900
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
"Jukka K. Korpela" <[email protected]>, 2015-01-12 22:33 +0200: > Date: Mon, 12 Jan 2015 22:33:57 +0200 > From: "Jukka K. Korpela" <[email protected]> > Archived-At: <http://www.w3.org/mid/[email protected]> > > 2015-01-12, 20:52, Mark Rogers wrote: > > >http://validator.w3.org/nu/ flags TH ABBR as obsolete but it's not > >listed as obsolete in HTML 5.0 Rec, 5.1 draft or WhatWG specs. > > More exactly, it is listed in them as a conforming attribute. > > >(Seem to recall it being listed as obsolete in an HTML5 spec a > >couple of years back) > > That is correct. In the October 2012 version, it was not described as > conforming, and it eas explicitly listed as nonconforming: > “abbr on td and th elements > Use text that begins in an unambiguous and terse manner, and include any > more elaborate text after that. The title attribute can also be useful > in including more detailed text, so that the cell's contents can be made > terse.” > http://www.w3.org/TR/2012/WD-html5-20121025/obsolete.html#non-conforming-features > > In the December 2012 version, this was taken back as regards the th > element. This has been the situation since that. That is, abbr is valid > for th, invalid for td (and any other element). > > >This looks like the cause in Assertions.java: > >OBSOLETE_ATTRIBUTES.put("abbr", new String[] { "td", "th" }); > > It should have just "td" there. HTML5 declares abbr as obsolete for td, > but not for th. (It declares td as purely a data cell, not at as data or > header+data cell, which was the HTML 4.01 position.) Yeah, this is a bug in the code. I neglected to bring it up to date with the spec when the spec changed. I'll get it fixed soon. --Mike -- Michael[tm] Smith https://people.w3.org/mike
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJUtHLAAAoJEIfRdHe8OkuVRhoP/icdtOwaHlbA5V4DGfk7ginu 1d35iDSb79UiSFbfvPDe1/lGiuDmIuCFFwu2A/nxU1sBH+pJNHAs143dRGMlTLeK xxwCtVKgMMv9//DaX2d+EIjoYaSRaEXKbelH5AVwGQBUqxjkmOmWRFVz2HGMHb/j sKCLU3zpnaUw281+PRs83wdYZy1RViFsPWnpYUMwpMYEXDA8nL6SYfDlOFM/Gss1 TjJjqw6aFvHyANUkuuZoAJ2UlriHYrUbeE41iyCeAqquwC3U6UViI4luDy1xnJhs 8paznPTduqxOAfbQMEo35fDA5pKU9bzR13TZSeCbolPbl1lRQHCvZVh0ZzX9Igmz qbeJusbgeqgJFFH+11G+qgK1pZ9dikGS48PEyF6k+eqNhjHa5Qn6ulnU8PFpyLpk EZc1GTLx9ggOtYSEwHClxpW1uRDPBD5C62ogFo+HajtsChS6DHm2kX83s8j8DvDA zXMmTDxQL15D9lRMhnw+/CUofjli+bXBpYDdBBQPxB3YWCz8DQZUqgO5152BODpQ nq6IHSr3XQEU//ur28pj5qVWne5hDmERolegHV9W7mlohCYDfPciZN3BsBHg8HU+ R02N24Syo866T+FN/Ma2QMM/OH84A6dj5+fvb3fy5iZKdOXG8pldkEjmXHPpwGMa r9p4mDLSOPl3qPG58Iep =1UR7 -----END PGP SIGNATURE-----