Bug 94359

Summary: [CI][CSS Masking] apply luminance mask to context
Product: WebKit Reporter: Dirk Schulze <krit>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: alexander, eoconnor
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 95389    

Description Dirk Schulze 2012-08-17 10:14:23 PDT
CSS masking just supported alpha masks at the moment. For compatibility reasons to SVG and to support the general harmonization process with bug 90738, it looks reasonable to support luminance masks as well. This is currently described by the proposal for CSS Masking [1].

The old SVG masking code used to work with CI to transform a luminance mask to an alpha mask [2].

[1] http://dvcs.w3.org/hg/FXTF/raw-file/tip/masking/index.html#the-mask-type
[2] http://trac.webkit.org/browser/trunk/WebCore/svg/graphics/cg/SVGResourceMaskerCg.mm?rev=35895
Comment 1 Alex 2023-11-14 00:49:33 PST
Isn't it supported already since Safari 15.4?
https://caniuse.com/mdn-css_properties_mask-mode