[Webkit-unassigned] [Bug 201295] [Gtk] Inline SVG confuses local file parsing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 6 09:39:56 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=201295

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org
            Summary|Inline SVG throws the       |[Gtk] Inline SVG confuses
                   |browser off                 |local file parsing

--- Comment #5 from Alexey Proskuryakov <ap at webkit.org> ---
> This is a local file (file:///) so I don’t “being served with” makes much sense here.

Thank you for the clarification.

Making the file valid HTML would almost certainly fix the symptom (i.e. remove the spurious slash at the end of <link>, xmlns and version attributes on <svg>, and anything else the HTML5 validator points out).

> Alexey, could you check if it works in Safari?

Our stack doesn't do any content sniffing, the extension is all that matters for local files. Given how many malformed XML documents exist out there, only working because they are parsed as HTML, I suggest dropping content sniffing in other ports as well.

-- 
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/20190906/f77cafcb/attachment-0001.html>


More information about the webkit-unassigned mailing list