The current draft of the SVG spec defines dataset attribute on the SVGElement interface while HTML 5 spec defines it on the HTMLElement interface.
Is there any particular reason why dataset couldn't be defined just once on the Element interface like other similar attributes such as classList?
The current draft of the SVG spec defines
datasetattribute on the SVGElement interface while HTML 5 spec defines it on the HTMLElement interface.Is there any particular reason why
datasetcouldn't be defined just once on theElementinterface like other similar attributes such asclassList?