-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Remove textLength as a global SVG attribute #23135
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would break the MDN page at https://developer.mozilla.org/docs/Web/SVG/Attribute/textLength
We usually try to have a content PR before merging. I'm assuming this data is available in BCD elsewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This attribute is added under the <text>
element in BCD, but we need to add it to the other three elements as well.
I've sent mdn/content#33939 to update MDN. |
It can only be used on SVG <text>, <tspan>, and <textPath>, and previously <tref> which has been removed now.
And now I've updated this PR to also add the attribute to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👍
It can only be used on SVG
<text>
,<tspan>
, and<textPath>
, andpreviously
<tref>
which has been removed now.