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

2013-07-12 Thread Ian Hickson
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

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

2013-07-12 Thread David Carlisle
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

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

2013-07-12 Thread Tab Atkins Jr.
On Fri, Jul 12, 2013 at 10:40 AM, David Carlisle dav...@nag.co.uk wrote: For SVG are you considering allowing data-* always or just in svg-in-html? SVG is going to (or maybe already has?) added the data-* attributes to SVG elements. ~TJ

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

2013-02-06 Thread David Carlisle
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

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

2013-02-06 Thread Anne van Kesteren
On Wed, Feb 6, 2013 at 6:41 AM, Cameron McCormack c...@mcc.id.au wrote: 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? Idea:

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

2013-02-06 Thread Garrett Smith
On 2/5/13, Cameron McCormack c...@mcc.id.au 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

[whatwg] supporting HTMLElement.dataset on SVG elements

2013-02-05 Thread Cameron McCormack
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