[whatwg] Allow trailing slash in always-empty HTML5 elements?

Elliotte Harold elharo at metalab.unc.edu
Thu Nov 30 09:59:36 PST 2006


Hallvord R M Steen wrote:

> It's the core of the debate, namely if <img /> isn't technically a
> problem why are validators required to flag it as invalid? The counter
> examples are comparisons with <div /> which isn't parsed into the DOM
> most would expect when sent as HTML, and corner cases like
> 
> <base href=http://example.org/bar/>


That one's easy to fix. Just require quotes around attribute values like 
  HTML should have done 15 years ago.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/



More information about the whatwg mailing list