[whatwg] supporting HTMLElement.dataset on SVG elements

David Carlisle davidc at nag.co.uk
Fri Jul 12 10:40:44 PDT 2013


On 12/07/2013 18:21, Ian Hickson wrote:
> On Wed, 6 Feb 2013, Cameron McCormack wrote:
>>
>> As part of aligning SVG with some not-so-HTML-specific features of
>> HTML, the SVG WG would like to support data-* attributes on SVG
>> elements.  In mixed HTML/SVG documents, it seems like you would
>> want to be able to use these attributes regardless of whether the
>> elements are HTML or SVG, or indeed MathML.

As a general rule I (and I believe the Math WG) are also in favour of
having any "global" attributes and behaviour common across
HTML/SVG/MathML wherever that makes sense.

For SVG are you considering allowing data-* always or just in svg-in-html?

David




More information about the whatwg mailing list