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

Update SVG presentation attributes #23545

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

Elchi3
Copy link
Member

@Elchi3 Elchi3 commented Jun 28, 2024

Summary

SVG presentation attributes can be used on all SVG elements and they are also CSS properties. We have compat data for all them in the css.properties.* tree already. This PR uses the compat data from the css.properties.* tree in svg.global_attributes.* as well. (A lot of them are ranged values but I think that's better than the null values we have now)

Test results and supporting details

None, I'm assuming support is the same. We have always update the data later if we see discrepancies between SVG attribute and CSS property.

Related issues

#9462

@github-actions github-actions bot added the data:svg Compat data for SVG features. https://developer.mozilla.org/docs/Web/SVG label Jun 28, 2024
@queengooborg queengooborg merged commit e8841cb into mdn:main Jun 29, 2024
5 checks passed
@Elchi3 Elchi3 deleted the svg-presentation-attributes branch June 29, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:svg Compat data for SVG features. https://developer.mozilla.org/docs/Web/SVG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants