[Webkit-unassigned] [Bug 185940] CSS variables don't work as expected with borders and box shadow.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 13 21:18:51 PDT 2018


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

Asad <exocrew at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |exocrew at gmail.com

--- Comment #3 from Asad <exocrew at gmail.com> ---
(In reply to shrpne from comment #2)
> https://jsfiddle.net/4sLxy763/1/ 
> test case of this bug with box-shadow

Workaround: Create a redundant variable first.

    --redundant: rgba(255,0,0, var(--shadow-opacity));
    box-shadow: 0 0 10px var(--redundant);

-- 
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/20180914/32f7eab5/attachment.html>


More information about the webkit-unassigned mailing list