W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: Short-term workarounds - - <source> in <video>

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Sat, 24 Oct 2009 23:37:15 +0200
Message-ID: <4AE3738B.5080201@xn--mlform-iua.no>
To: Joe D Williams <joedwil@earthlink.net>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, HTMLWG WG <public-html@w3.org>
Leif Halvard Silli On 09-10-24 00.41:

> Joe D Williams On 09-10-24 00.20:


> My point between the lines is that the text/html serialization of 
> HTML 5 should permit not only "<source />" but also 
> "<source></source>" - that would be the simplest workaround of all 
> - should work cross browser!
> Why can't HTML 5 permit that?


>> Also, is this about the same workaround for attributes that are not 
>> written as a name='value' pair but freestanding as a boolean?
> I have no insight into how to create workarounds for that issue.

After I sent the reply, I started to realize what you meant by 
pointing to boolean attributes as a parallel issue:

Whenever one inserts a unknown attribute in a HTML element, and 
even if you do not intend it as a boolean - e.g. <div myBoolenan>, 
still, in the DOM, it becomes mybolean="" or 
myboolean="myboolean". And I assume XHTML compatibility requires 
the myboolean="myboolan" form as well.

That's why HTML 5 permits boolean attributes in all 3 variants above.

A very good parallel!
leif halvard silli
Received on Saturday, 24 October 2009 21:37:50 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:01 UTC