RESOLVED DUPLICATE of bug 246927 244659
linear-gradient keywords values are not converted to their rgb() equivalents
https://bugs.webkit.org/show_bug.cgi?id=244659
Summary linear-gradient keywords values are not converted to their rgb() equivalents
Karl Dubost
Reported 2022-08-31 22:21:50 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-08-31 22:24:32 PDT
Karl Dubost
Comment 2 2023-01-30 17:03:45 PST
*** This bug has been marked as a duplicate of bug 246927 ***
Karl Dubost
Comment 3 2023-01-30 17:04:19 PST
WebKit now returns "linear-gradient(-45deg, rgb(255, 0, 0), rgb(0, 0, 0))"
Note You need to log in before you can comment on or make changes to this bug.