[whatwg] Attribute for holding private data for scripting

Anne van Kesteren annevk at opera.com
Wed Apr 11 04:44:45 PDT 2007


On Wed, 11 Apr 2007 13:40:39 +0200, Sam Ruby <rubys at intertwingly.net>  
wrote:
> Per HTML5 section 8.1.2.3, however, such an attribute name would not be  
> considered conformant.

Yes, only attributes defined in the specification are conformant.


> Despite this, later in document, in the description of "Attribute name  
> state", no parse error is produced for this condition.  Nor does the  
> current html5lib parser produce a parse error with this data.

Correct. We're not doing validation. Just tokenizing and building a tree.


> [...]


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



More information about the whatwg mailing list