-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Document <script> support for SVG crossorigin #42046
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
Document <script> support for SVG crossorigin #42046
Conversation
|
Preview URLs (comment last updated: 2025-11-21 14:31:58) |
|
FYI - The compat table now displays " svg.elements.script.crossorigin " , but BCD does not have that subfeature yet, so the table is rendering empty. Once we add " svg.elements.script.crossorigin " to BCD, the MDN page will display the data automatically. Thank You 😊. |
chrisdavidmills
left a comment
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.
What you've done looks good, thanks @badwriter123!
I've just made one suggestion for a couple more minor improvements we could make while we are here.
| --- | ||
|
|
||
| The crossorigin attribute, valid on the {{SVGElement("image")}} and {{SVGElement("feImage")}} elements, provides support for configuration of the Cross-Origin Resource Sharing ([CORS](/en-US/docs/Web/HTTP/Guides/CORS)) requests for the element's fetched data. | ||
| The crossorigin attribute, valid on the {{SVGElement("image")}}, {{SVGElement("feImage")}} and {{SVGElement("script")}} elements, provides support for configuration of the Cross-Origin Resource Sharing ([CORS](/en-US/docs/Web/HTTP/Guides/CORS)) requests for the element's fetched data. |
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.
| The crossorigin attribute, valid on the {{SVGElement("image")}}, {{SVGElement("feImage")}} and {{SVGElement("script")}} elements, provides support for configuration of the Cross-Origin Resource Sharing ([CORS](/en-US/docs/Web/HTTP/Guides/CORS)) requests for the element's fetched data. | |
| The `crossorigin` attribute, valid on the {{SVGElement("image")}}, {{SVGElement("feImage")}}, and {{SVGElement("script")}} elements, provides support for configuration of Cross-Origin Resource Sharing ([CORS](/en-US/docs/Web/HTTP/Guides/CORS)) requests for the element's fetched data. |
chrisdavidmills
left a comment
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.
@badwriter123 Looking good, let's get this merged. I don't think it's a serious problem, but if you could get that BCD addition made too, we'd be even more grateful 😄
Thanks for your contribution.
Fix #42026
Description
Hello,.
For the file --> files/en-us/web/svg/reference/attribute/crossorigin/index.md
Thank You ... 😊