[Webkit-unassigned] [Bug 179724] New: Styles not applied to targeted SVG elements when using `use`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 15 04:35:11 PST 2017


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

            Bug ID: 179724
           Summary: Styles not applied to targeted SVG elements when using
                    `use`
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: peter.mouland at gmail.com
                CC: zimmermann at kde.org

Aim:
To create an SVG containing multiple elements and to re-use this SVG via the <use> element. 
I would then like to style each element differently e.g. different stroke/fill colours.

Problem
Chrome, Edge, ie11 and Opera allow me to do this, which is exactly what I would like, unfortunately within Safari (and Firefox) no visible SVG is rendered.

Resolution
My preference would be to have Firefox/Safari behave how Edge (and the others) do,
Please could you confirm this behaviour is a bug?

Links:
CodePen Demo: https://codepen.io/peter-mouland/pen/pdEMWZ
firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1415186
Edge bug: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/14673751/

-- 
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/20171115/44fe1c8c/attachment.html>


More information about the webkit-unassigned mailing list