On Tue, 27 May 2008 10:00:48 +0200, Henri Sivonen <hsivonen@iki.fi> wrote: >> Every HTML element may have any number of attributes starting with the >> string "data-" specified, with any value. > > The attribute name "data-" starts with "data-". Is it intentional to > allow "data-" as a conforming data-* attribute? > > (The (X)HTML5 preset schemas on Validator.nu are now magic [and allow] > attributes whose name starts with "data-" on elements in the HTML > namespace-- including "data-" itself.) I don't think it makes sense to allow "data-" as you can't access it using dataset. Unless dataset[""] = x works I suppose. Does it? -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>Received on Tuesday, 27 May 2008 08:19:01 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:32:32 GMT