Created attachment 362727 [details] Example with one html and one svg file When referencing an external SVG (external.svg) inside an inline SVG inside an html file (index.html) via <use href="external.svg#someid"> and caching everything via ServiceWorker (cache.addAll(["index.html", "external.svg"])) the <use> tag does not display the cached version from the service worker when offline but displays nothing as if the file is not found. But when accessing the svg directly via adress bar it can (of course) be loaded even when offline. Loading the external SVG via <img> tag does also work when offline. So it seems there is a bug when combining <use> tag an ServiceWorker. I have attached an example. In other browsers (chrome and firefox) it works fine.
<rdar://problem/96318522>
Pull request: https://github.com/WebKit/WebKit/pull/2056
Committed 252132@main (c923ed26acc4): <https://commits.webkit.org/252132@main> Reviewed commits have been landed. Closing PR #2056 and removing active labels.