On Wed, May 14, 2025 at 4:45 PM Yoav Weiss (@Shopify) < [email protected]> wrote:
> > > 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? > It seems like this is because the default view is experimental. The test fails on Chrome stable as expected: https://wpt.fyi/results/svg/interact/scripted/async-01.svg?label=master&label=stable&aligned -- 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/CAARdPYcBYPqkWsoJ%3DtYbqwBZ5Rt-iKLREe7jBEqOVP%3D7iUWO_w%40mail.gmail.com.
