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
Isn't it supported already since Safari 15.4? https://caniuse.com/mdn-css_properties_mask-mode