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

Anne van Kesteren annevk at opera.com
Thu Nov 30 07:04:36 PST 2006


On Thu, 30 Nov 2006 15:14:03 +0100, Hallvord R M Steen  
<hallvors at gmail.com> wrote:
> FWIW, it sounds sane to me to align validation as much as possible
> with the UA parsing in a way that issues that aren't really problems
> for the UA aren't flagged as invalid. Closing slash on void elements
> sounds like a good example of "this is invalid because we're sticking
> to our fixed ideas"[1] rather than "this is invalid for technical
> reasons like causing ambiguities in DOM parsing". So I support Sam's
> approach.

Well, nothing per the parsing section causes "ambiguities in DOM parsing"  
(assuming I understand what that means). So I'm not sure what you're  
suggesting.


> That said, HTML5 must see
>
> <input type="checkbox" checked/>
>
> as a checkbox input with a "checked" attribute.

It does.


> [...]
>
> [1] disclaimer: not intended as a flame-bait but probably is one.. :-ø


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list