Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference to the 'direction' attribute is missing from the definition of the 'svg' element #884

Open
iherman opened this issue May 25, 2022 · 1 comment

Comments

@iherman
Copy link
Member

iherman commented May 25, 2022

The definition of the SVG Element 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 explicitly refers to:

For other cases, such as when using right-to-left languages, it may be sufficient to add the direction property to the outermost svg element […]

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

@iherman
Copy link
Member Author

iherman commented May 25, 2022

Actually... I just realized that the same problem occurs for the text element... Is the real bug that the attribute is not listed as a core attribute (alongside lang)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant