[Webkit-unassigned] [Bug 244659] New: linear-gradient keywords values are not converted to their rgb() equivalents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 31 22:21:50 PDT 2022


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

            Bug ID: 244659
           Summary: linear-gradient keywords values are not converted to
                    their rgb() equivalents
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
               URL: http://wpt.live/css/css-backgrounds/parsing/border-ima
                    ge-source-computed.sub.html
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com
                CC: webkit-bug-importer at group.apple.com

Enter: 
data:text/html,<div%20style="border-image-source:%20linear-gradient(-45deg,%20red,%20currentcolor)">


Then 
window.getComputedStyle(document.getElementsByTagName('div')[0]).borderImageSource 

it returns red and currentcolor for Safari
while it returns the rgb value for Firefox and Chrome.

-- 
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/20220901/5e949f5b/attachment.htm>


More information about the webkit-unassigned mailing list