[Webkit-unassigned] [Bug 199134] New: SVG images don't support prefers-color-scheme adjustments when embedded in a page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 23 09:53:15 PDT 2019


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

            Bug ID: 199134
           Summary: SVG images don't support prefers-color-scheme
                    adjustments when embedded in a page
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: justinw at me.com
                CC: zimmermann at kde.org

Created attachment 372705

  --> https://bugs.webkit.org/attachment.cgi?id=372705&action=review

This is the SVG I am using

Desktop Safari version: STP Release 85 (Safari 13.0, WebKit 14608.1.28.1)
Mobile Safari: iOS 13 Beta 2

I have an SVG i am trying to update to adopt dark mode using embedded CSS and a @media query. If I open it in the web inspector and toggle dark vs light mode in the Elements tab, it updates the colors appropriately. When embedded in a web page, however, the CSS values are not respected. On the latest version of Firefox it works as expected (or maybe they have a bug and I'm doing it wrong?) 


You can see it live on https://carpeaqua.com.  I've also attached the SVG here.

Happy to provide more info as needed.

-- 
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/20190623/7950b66c/attachment.html>


More information about the webkit-unassigned mailing list