Summary: HTML elements have a .dataset property that allows convenient somewhat structured access to data-* attributes. The proposal is to add this to SVG elements too, following corresponding changes in the SVG specification.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=921834

Link to standard: https://svgwg.org/svg2-draft/types.html#__svg__SVGElement__dataset (draft so far)

Platform coverage: All.

Estimated or target release: Firefox 51

Preference behind which this will be implemented: None.

WebKit and Blink before Chrome version 45 support .dataset on all elements. Current Blink and Edge do not support this.

I'm adding some basic web platform tests in the patch in the bug.

-Boris
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to