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

Create svg2-script-html-equivalance feature #284

Merged

Conversation

ddbeck
Copy link
Collaborator

@ddbeck ddbeck commented Aug 8, 2023

This captures the requirement for SVG <script> elements to operate equivalently to HTML's <script> elements, including async, defer, and module.

I borrowed from the spec to name it, so I don't know if it's a good name. async-deferable-modular-scripts-in-svg felt like a mouthful.

cc: @bsmth, @Elchi3

See also: mdn/browser-compat-data#20502

This captures the requirement for SVG `<script>` elements to operate
equivalently to HTML's `<script>` elements, including `async`, `defer`,
and `module`.

See also: mdn/browser-compat-data#20502
@bsmth
Copy link

bsmth commented Aug 10, 2023

Thanks a lot for getting this one started. I agree the name is better than async-... and we're really trying to describe feature parity of scripts in SVG compared with HTML in general, so this is a good illustration.

As I mentioned, the WPT directory structure is a good hint for categorization and grouping:
https://wpt.fyi/results/svg/interact/scripted?label=experimental&label=master&aligned

ddbeck and others added 2 commits August 14, 2023 15:35
Co-authored-by: Florian Scholz <fs@florianscholz.com>
Co-authored-by: Florian Scholz <fs@florianscholz.com>
@ddbeck ddbeck added the feature definition Creating or defining new features or groups of features. label Aug 15, 2023
@ddbeck ddbeck merged commit 8d63603 into web-platform-dx:main Oct 16, 2023
2 checks passed
@foolip
Copy link
Collaborator

foolip commented Mar 8, 2024

Hi all, in #676 + #677 I'm making some changes to this feature, if anyone wants to review.

@ddbeck ddbeck deleted the 2023-08-08-add-feature-1-svg2-scripting branch March 16, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature definition Creating or defining new features or groups of features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants