[whatwg] Empty elements

On Wed, 15 Feb 2006, Michael Enright wrote:
>
> What about '<foo />' with a space between 'o' and '/' ? There are many 
> "legacy" pages with that kind of mark-up on <br> elements and so forth.

There are also lot of legacy pages that do it on things like <p>, sadly.

On <br> it's harmless, and it doesn't help either way to say that it 
makes an empty element, since it's empty anyway. On other elements, it 
makes HTML5 UAs have a different DOM that legacy UAs.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 15 February 2006 16:16:05 UTC