[svgwg] Reference to the 'direction' attribute is missing from the definition of the 'svg' element (#884)

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

== Reference to the 'direction' attribute is missing from the definition of the 'svg' element ==
The definition of the [SVG Element](https://svgwg.org/svg2-draft/struct.html#SVGElement) includes the list of all allowable attribute; the list does not contain a reference to the `direction` attribute.

On the other hand, the [definition of the `direction` attribute](https://svgwg.org/svg2-draft/text.html#DirectionProperty) explicitly refers to:

> For other cases, such as when using right-to-left languages, it may be sufficient to add the [direction](https://svgwg.org/svg2-draft/text.html#DirectionProperty) property to the [outermost svg element](https://svgwg.org/svg2-draft/struct.html#TermOutermostSVGElement) […]

and the examples also use the attribute on the SVG element.

I believe that, due to the nature of that attribute, it should indeed be allowed on the SVG element, alongside with, say, `lang`.

Cc @r12a 

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


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

Received on Wednesday, 25 May 2022 08:27:11 UTC