Skip to content

Conversation

@queengooborg
Copy link
Contributor

This PR updates and corrects version values for all browsers for the global_attributes SVG feature. This replaces a majority of ranges within the SVG global attributes by copying data from the CSS property counterparts.

This PR updates and corrects version values for all browsers for the `global_attributes` SVG feature. This replaces a majority of ranges within the SVG global attributes by copying data from the CSS property counterparts.
@queengooborg queengooborg added the data:svg Compat data for SVG features. https://developer.mozilla.org/docs/Web/SVG label Jul 23, 2025
@github-actions github-actions bot added the size:l [PR only] 101-1000 LoC changed label Jul 23, 2025
@github-actions
Copy link
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's right to assume that the SVG attribute is supported when the corresponding CSS property is supported, because in some cases (don't remember which ones) setting the SVG attribute does not have the expected effect.

@Elchi3 Wdyt?

@Elchi3
Copy link
Member

Elchi3 commented Aug 15, 2025

I don't know. It is hard to tell. I think Claas is right that this can't be assumed by default. It might be that in many cases it actually is the case, though. We should probably test further or look for additional evidence before making this change.

@caugner caugner marked this pull request as draft August 19, 2025 18:17
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 size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants