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


Design docs

https://docs.google.com/document/d/146iVXAKrBpzGYBc88EqxVLRDZyBT13ERVTs5POXcTYA/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


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?
Yes
wpt.fyi link: https://wpt.fyi/results/svg/interact/scripted/async-01.svg



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 (eg links to known github issues in the project 
for the feature specification) whose resolution may introduce web 
compat/interop risk (eg, 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.

-- 
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/68245208.050a0220.624fd.02d2.GAE%40google.com.

Reply via email to