[svgwg] Deprecate type attribute on SVGStyleElement?

dstorey has just created a new issue for https://github.com/w3c/svgwg:

== Deprecate type attribute on SVGStyleElement? ==
https://svgwg.org/svg2-draft/single-page.html#styling-InterfaceSVGStyleElement

We include the type IDL and content attributes on SVGStyleElement. These are deprecated in HTML as CSS is the only style sheet language, and thus it is redundant (I guess there are XSL style sheets too, but I'm not sure if they're even valid in SVG any longer and they don't use the style element anyway).

We should probably match HTML and deprecate it?

We don't have a deprecated section like HTML, but perhaps we should, as className on SVGElement is deprecated in prose and so is animVal. This would make it clearer that they are legacy and shouldn't be used by authors.

We should put these in their own partials, such as:

partial interface SVGStyleElement {
  attribute DOMString type;
};


Please view or discuss this issue at https://github.com/w3c/svgwg/issues/411 using your GitHub account

Received on Thursday, 12 April 2018 08:50:55 UTC