On Wednesday, May 14, 2025 at 10:19:43 AM UTC+2 Chromestatus wrote:

Contact emails [email protected] 

Explainer None 

Specification https://svgwg.org/svg2-draft/interact.html#ScriptElement:~:
text=%E2%80%98script%E2%80%99%20element-,SVG%202%20Requirement%3A,Consider%
20allowing%20async/defer%20on%20%E2%80%98script%E2%80%99.,-Resolution%3A 


I don't see this in the spec, other than the annotation saying that we 
should add it at some point. I understand that we're shipping last here, 
but it's still out of process to ship without an actual specification that 
allows us to know what we're shipping is interoperable.. 

Design docs 
https://docs.google.com/document/d/146iVXAKrBpzGYBc88EqxVLRDZyBT1
3ERVTs5POXcTYA/edit?usp=sharing 

Summary 

The SVGScriptElement interface in SVG 2.0 introduces the async attribute, 
similar to the HTMLScriptElement. This attribute allows scripts to be 
executed asynchronously, improving the performance and responsiveness of 
web applications that utilize SVG.


Blink component Blink>SVG 
<https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3ESVG%22> 

TAG review None 

TAG review status Not applicable 

Risks 


Interoperability and Compatibility 

This is already supported in Firefox


*Gecko*: Shipped/Shipping (https://developer.mozilla.org/en-US/docs/Web/API/
SVGScriptElement) 

*WebKit*: No signal (https://github.com/WebKit/
standards-positions/issues/490) 

*Web developers*: Positive Three users have noted they are impacted by the 
CrBug. 

*Other signals*: 

WebView application risks 

Does this intent deprecate or change behavior of existing APIs, such that 
it has potentially high risk for Android WebView-based applications?

None


Debuggability 

The functionality of the async attribute is similar to how they are used in 
HTML <script> element, so no further devtools support is required.


Will this feature be supported on all six Blink platforms (Windows, Mac, 
Linux, ChromeOS, Android, and Android WebView)? Yes 

Is this feature fully tested by web-platform-tests 
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
? Yes 

wpt.fyi link: https://wpt.fyi/results/svg/interact/scripted/async-01.svg


This test currently passes in Chromium (and fails in Safari). It that the 
right test?
 



Flag name on about://flags None 

Finch feature name SvgScriptElementAsyncAttributeEnabled 

Rollout plan Will ship enabled for all users 

Requires code in //chrome? False 

Tracking bug https://issues.chromium.org/issues/40067618 

Estimated milestones Shipping on desktop 139 Shipping on Android 139 Shipping 
on iOS 139 

Anticipated spec changes 

Open questions about a feature may be a source of future web compat or 
interop issues. Please list open issues (e.g. links to known github issues 
in the project for the feature specification) whose resolution may 
introduce web compat/interop risk (e.g., changing to naming or structure of 
the API in a non-backward-compatible way).
None 

Link to entry on the Chrome Platform Status https://chromestatus.com/
feature/6114615389585408?gate=5989055980109824 

This intent message was generated by Chrome Platform Status 
<https://chromestatus.com>. 

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/da4f2f55-a84e-430b-a633-ffb120f22411n%40chromium.org.

Reply via email to