[svgwg] Why most of SVG 2 properties are not presentational? (#900)

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

== Why most of SVG 2 properties are not presentational? ==
https://www.w3.org/TR/SVG2/styling.html#PresentationAttributes

The docs have the following comment:

>In the future, any new properties that apply to SVG content will not gain presentation attributes. Therefore, authors are suggested to use styling properties, either through inline ‘[style](https://www.w3.org/TR/SVG2/styling.html#StyleAttribute)’ properties or style sheets, rather than presentation attributes, for styling SVG content.

Why is that? Does it mean that a conforming SVG 2 writer should use only the `style` attribute instead of normal XML attributes?
Personally, I think that the `style` attribute isn't human-readable, unlike normal XML attributes.

I there are some rationale behind such decision?  

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 21 November 2022 07:54:01 UTC