[Webkit-unassigned] [Bug 198512] New: Presence of CSS variable causes a background url() to get resolved with a different base

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 3 19:14:35 PDT 2019


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

            Bug ID: 198512
           Summary: Presence of CSS variable causes a background url() to
                    get resolved with a different base
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

Created attachment 371239

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

Testcase

If the background shorthand has a variable reference in it:
    background: url('images/ducky.png') var(--darkGreen);

then URLs in that shorthand are resolved relative to the document URL, not the style sheet URL, which is wrong.

-- 
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/20190604/e75ed0b3/attachment.html>


More information about the webkit-unassigned mailing list