W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2013

Re: [whatwg] supporting HTMLElement.dataset on SVG elements

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 06 Feb 2013 10:56:43 +0000
Message-ID: <511236EB.8060304@nag.co.uk>
To: Cameron McCormack <cam@mcc.id.au>
Cc: whatwg <whatwg@lists.whatwg.org>
On 06/02/2013 06:41, 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.
> Does it make sense to move HTMLElement.dataset up to Element, so that
>  all elements can benefit from it?  If not, could this attribute be
> split out on to a separate interface that we could have SVGElement
> implement?
> (I'm also going to be looking at the other global attributes that
> HTML elements have to see if any make sense in SVG too.)
> Thanks,
> Cameron

I'm also in favour of making any reasonable global feature act the same
way across html/mathml/svg (hence the earlier request to move innerHTML
and friends up to Element so they apply to MathML).


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
Received on Wednesday, 6 February 2013 10:57:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:19 UTC