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

Add features from SVG Path spec #26214

Merged
merged 1 commit into from
Mar 14, 2025
Merged

Add features from SVG Path spec #26214

merged 1 commit into from
Mar 14, 2025

Conversation

Elchi3
Copy link
Member

@Elchi3 Elchi3 commented Mar 14, 2025

The https://svgwg.org/specs/paths spec wasn't in browser-specs so far but has been added now. As a consequence, I ran the OWD BCD collector again to get features from that spec into BCD. Some ship in the new Firefox 137 beta, some are apparently around cross-browser for longer.

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:l [PR only] 101-1000 LoC changed labels Mar 14, 2025
@caugner caugner merged commit 973d7a6 into mdn:main Mar 14, 2025
4 checks passed
@mdn-bot mdn-bot mentioned this pull request Mar 14, 2025
}
}
},
"getTotalLength": {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know why SVG Paths redefines getTotalLength (and getPointAtLength) but the methods are already defined in the base SVGGeometryElement interface. Looking at the note in api/SVGGeometryElement.json, I suspect that's a historical artefact (i.e., the method probably started its existence on SVGPathElement). Anyway, nothing wrong per se.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:l [PR only] 101-1000 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants