Re: several messages about New Vocabularies in text/html

David Carlisle wrote:
>> *Browsers* do allow custom element names. I may be wrong WRT the spec; 
>> will have to research.
> 
> No, you were not wrong, see for example 
> 
> 
> http://lists.w3.org/Archives/Public/public-html/2008Apr/0110.html
> 
> where I give a link to the HTML4 sprec.

It should be noted that the relevant quote from the HTML 4 spec:

"If a user agent encounters an element it does not recognize, it should try to 
render the element's content."

is in an appendix entitled "Notes on invalid documents". Therefore it is clear 
that HTML 4 does not "allow" unrecognized elements (any document containing an 
unrecognized element will not be conforming HTML 4 document), it merely suggests 
some particular, non-fatal, error handling behavior when they are encountered. 
The same is true in HTML 5 today, but the error handling is normative.

-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead

Received on Friday, 4 April 2008 10:04:50 UTC