v147 · HTML · XSLT SVG Demo
XSLT SVG Demo
Comparison of the removed inline XSLT → SVG rendering path against the alternative SVG delivery methods that still work in Chrome 147+.
The removed feature only affected XML documents served with
Content-Type: application/xml or text/xml that included an <?xml-stylesheet type="text/xsl"> processing instruction referencing an XSLT that output SVG. Inline SVG in HTML, <img src="*.svg">, and XSLTProcessor in JavaScript are unaffected.
removed vs working
Removed in Chrome 147
✗ No longer rendered
XML + XSLT → SVG
Navigating to an XML file with <?xml-stylesheet type="text/xsl"> that transforms to SVG. Chrome 147 no longer renders the SVG output.
Still works in Chrome 147
Inline SVG in HTML documents. Renders normally — unaffected by Chrome 147.
SVG delivery methods
| Method | Chrome 147 | Notes |
|---|---|---|
| Inline XSLT + XML → SVG (navigate to XML file) | Removed | The removed feature |
Inline SVG in HTML (<svg> element) |
Works | Recommended for interactive/animated SVG |
<img src="file.svg"> |
Works | Static SVG display; scripts inside SVG don't run |
Navigate to file.svg (image/svg+xml) |
Works | Direct SVG file rendering — unchanged |
XSLTProcessor in JavaScript |
Works | Transform XML → SVG in JS, then insert into DOM |
| Server-side XSLT transform → serve SVG | Works | Transform before sending; browser receives SVG directly |
see also
scenario focus
Select a scenario to focus its rendered example and summary.
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗