Bug 241791 - clip should be applied after drop-shadow filter
Summary: clip should be applied after drop-shadow filter
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Compositing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://wpt.fyi/results/css/css-maski...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-20 17:29 PDT by Fujii Hironori
Modified: 2023-08-02 11:54 PDT (History)
2 users (show)

See Also:


Attachments
test case (620 bytes, text/html)
2022-06-20 17:29 PDT, Fujii Hironori
no flags Details
[screenshot] Safari Technology Preview 146 (73.34 KB, image/png)
2022-06-20 17:32 PDT, Fujii Hironori
no flags Details
clip-path and drop-shadow (626 bytes, text/html)
2022-06-20 17:41 PDT, Fujii Hironori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2022-06-20 17:29:07 PDT
Created attachment 460359 [details]
test case

clip should be applied after drop-shadow filter
Comment 1 Fujii Hironori 2022-06-20 17:32:38 PDT
Created attachment 460360 [details]
[screenshot] Safari Technology Preview 146
Comment 2 Fujii Hironori 2022-06-20 17:41:04 PDT
Created attachment 460361 [details]
clip-path and drop-shadow
Comment 3 Radar WebKit Bug Importer 2022-06-27 17:30:15 PDT
<rdar://problem/96024324>
Comment 4 Simon Fraser (smfr) 2023-08-02 09:50:10 PDT
Does some CSS spec describe the order?
Comment 5 Fujii Hironori 2023-08-02 11:54:38 PDT
https://drafts.fxtf.org/css-masking-1/#placement

> In a last step the following effects are applied to the element in order: filter effects [FILTER-EFFECTS], clipping, masking and opacity.

https://drafts.fxtf.org/filter-effects-1/#placement

> The compositing model follows the SVG compositing model [SVG11]: first any filter effect is applied, then any clipping, masking and opacity [CSS3COLOR].