async
attribute in SVG <script>
elements. I also initiated an Intent to Ship (I2S) on blink-dev regarding this, which drew significant attention from reviewers, as we currently support only the
async
attribute, and not defer
.defer
support in XMLParserScriptRunner
this quarter, as the related bugs have received considerable upvotes.defer
and
type=module
in XMLParserScriptRunner
could lead to redundant code between the HTML and XML parser script runners.XMLParserScriptRunner
.defer
in XML scripts, including their trade-offs.--
You received this message because you are subscribed to the Google Groups "loading-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loading-dev...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/loading-dev/SI2P153MB05076A9DB4951AA55480EAC6C12BA%40SI2P153MB0507.APCP153.PROD.OUTLOOK.COM.
Hey,
I hope everyone is back after spending a wonderful and refreshing vacation. Could we please revisit this topic and continue our discussion?
I’m eager to understand more about how we plan to enhance functionality in XMLParserScriptRunner, and whether any conversations are already underway in this regard. I’d really appreciate hearing more from the team.
Thank you
Virali
From: Yoshisato Yanagisawa <yyana...@chromium.org>
Sent: 12 August 2025 09:42
To: Virali Purbey <virali...@microsoft.com>
Cc: loadi...@chromium.org; Vinay Singh <vinay...@microsoft.com>; Ragvesh Sharma <rags...@microsoft.com>; Daniel Clark <dan...@microsoft.com>; Akshay Prabhu <apr...@microsoft.com>; Mike Jackson (EDGE) <mjac...@microsoft.com>
Subject: [EXTERNAL] Re: Exploring defer support in XMLParserScriptRunner for SVG Scripts
You don't often get email from yyana...@chromium.org. Learn why this is important |
Hi team,
We have drafted a proposal document for the problem statement. Here is the link:
https://docs.google.com/document/d/15qFv33dwAxloXAeMa3ZEuw5iGZxAwXKcBry_gFCq1UA/edit?usp=sharing
Please have a look and let’s discuss the approaches for our next steps. I look forward to hear your feedback on the same.
Thanks
Virali
Hi Virali,
Thanks for reaching out with your detailed proposal regarding the defer attribute.
After discussing this with the owners of the script + parser/XML part of the codebase, we have decided that we cannot support the implementation of defer in XML documents at this time.
Our primary concern is that this would involve significant code rearchitecturing, as you outlined on the document. On the other hand, standard bodies' work on XHTML ceased back in 2009. Our general strategy for legacy technologies like this is to maintain the existing support for compatibility, especially for enterprise use cases, but to avoid adding new capabilities. For SVG, we are aware of an open issue at SVGWG tracker, but we see the lack of activity on it for over a decade as a signal that this isn't a priority for the broader web community.
From a codebase perspective, the proposal touches a particularly complex part of Chromium that we are seeking to simplify over time, not expand. While we recognize there is some developer interest, we believe the significant maintenance cost and added complexity outweigh the benefits. Our engineering efforts are better focused on the modern HTML parser.
We appreciate you taking the time to write up the proposal and start a design document, and we would be happy to collaborate on features for the modern web platform in the future.
Best,
Kouhei