[Webkit-unassigned] [Bug 194948] New: SVG load external file via <use> ignores ServiceWorker when offline
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 22 09:40:37 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=194948
Bug ID: 194948
Summary: SVG load external file via <use> ignores ServiceWorker
when offline
Product: WebKit
Version: Safari 12
Hardware: Macintosh
OS: macOS 10.12
Status: NEW
Severity: Normal
Priority: P2
Component: Service Workers
Assignee: webkit-unassigned at lists.webkit.org
Reporter: webkit at laszlokorte.de
Created attachment 362727
--> https://bugs.webkit.org/attachment.cgi?id=362727&action=review
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190222/db8ee40b/attachment.html>
More information about the webkit-unassigned
mailing list