- From: Anne van Kesteren <annevk@opera.com>
- Date: Tue, 27 May 2008 10:18:56 +0200
- To: "Henri Sivonen" <hsivonen@iki.fi>, "HTML WG" <public-html@w3.org>
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 UTC