Re: New elements vs. Trident

Robert Burns wrote:
>>> Just to throw out an example: what would happen if we added the 
>>> self-closing syntax to text/html and actually made it meaningful. 
>>> Presumably this would degrade gracefully since existing content would 
>>> not end their opening element tags with a "/>".  Just a thought for 
>>> another example.
>>
>> I don't see how this can be done. The following document would have 
>> different results in old and new UAs:
>>
>> ----
>> <b />X
>> ----
> 
> Do you have some citations for that document. In other words does a 
> document like that exist in reality? How many document exist like that 
> in reality? How many would break severely if the self-closing tag 
> interpretation was implied?

That's not the question. The question is how many documents *will* exist 
if you legalize that syntax. For example, <script src="foo"/> and 
<textarea/> seems like a nice simplification, and it will break the 
document in old UAs.

dao

Received on Monday, 17 September 2007 10:11:59 UTC