Bug 233181 - box-shadow with negative spread is broken
Summary: box-shadow with negative spread is broken
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 13
Hardware: Mac (Intel) macOS 10.15
: P2 Critical
Assignee: Nobody
Depends on:
Reported: 2021-11-16 02:42 PST by Zlati Pehlivanov
Modified: 2021-11-17 16:54 PST (History)
3 users (show)

See Also:

demo of the bug (29.47 KB, image/png)
2021-11-16 02:42 PST, Zlati Pehlivanov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zlati Pehlivanov 2021-11-16 02:42:39 PST
Created attachment 444363 [details]
demo of the bug

Having a box-shadow with negative spread and inset displays the shadow as solid color and ignores the alpha from rgba color of the shadow and the blur.

Comment 1 Alexey Proskuryakov 2021-11-17 09:37:43 PST
I cannot reproduce this with macOS 12.1 beta.
Comment 2 Zlati Pehlivanov 2021-11-17 10:00:27 PST
Notice the OS version and safari version I have set.
It is fixed indeed in latest Safari (15)
Comment 3 Simon Fraser (smfr) 2021-11-17 16:54:08 PST
Thank you for testing.