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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 11 04:24:21 PDT 2019


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

Bastien Nocera <bugzilla at hadess.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at hadess.net

--- Comment #8 from Bastien Nocera <bugzilla at hadess.net> ---
(In reply to Alexandre Franke from comment #0)
> When I open the following HTML document in Web:
> ```html
> <!DOCTYPE html>
> <html lang="en">
>   <head>
>     <meta charset="utf-8">
>     <title>Test animation</title>
>     <link rel="stylesheet" href="svg.css" />
>   </head>
>   <body>
> 
>     <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
>                                             viewBox="0 0 300 300"
> width="500" height="500" id="starter_svg">
>       <text id="username" x="150" y="150" dx="-15"
> alignment-baseline="middle" text-anchor="end">alice</text>
>       <text id="at-separator" class="animated" x="150" y="150"
> alignment-baseline="middle" text-anchor="middle">@</text>
>       <text id="domain" x="150" y="150" dx="15" alignment-baseline="middle"
> text-anchor="start">example.com</text>
>     </svg>
>   </body>
> </html>
> ```
> 
> I get the following error:
> ```
> This page contains the following errors:
> 
> error on line 7 at column 10: Opening and ending tag mismatch: meta line 0
> and head
> Below is a rendering of the page up to the first error.
> ```
> 
> and the text “Test animation” is displayed below it.
> 
> If I remove the inline SVG, everything works fine.
> 
> Originally reported at https://gitlab.gnome.org/GNOME/epiphany/issues/886

This will now get matched as a text/html file after:
https://gitlab.freedesktop.org/xdg/shared-mime-info/merge_requests/41
gets merged.

-- 
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/20190911/72e11fe8/attachment.html>


More information about the webkit-unassigned mailing list