11.10.2011 20:45, David Dorward wrote: > I don't know if this is a bug in the experimental HTML 5 validator or > if I'm missing something in the specification, but should this document > (given the title and alt attributes) validate? > > <!DOCTYPE HTML> > <meta charset=utf-8> > <title>Test</title> > <img title alt src='/'> As far as I can see, it conforms to HTML5 as defined in current drafts, with those attributes defaulted to empty strings, see http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#syntax-attributes It's odd, if you ask me, but the rationale is probably the idea of allowing "boolean" attributes like disabled in a simplistic manner. -- Yucca, http://www.cs.tut.fi/~jkorpela/Received on Tuesday, 11 October 2011 18:25:51 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:23 UTC