Bug 94359
Summary: | [CI][CSS Masking] apply luminance mask to context | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dirk Schulze <krit> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | alexander, eoconnor |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=282530 | ||
Bug Depends on: | |||
Bug Blocks: | 95389 |
Dirk Schulze
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alex
Isn't it supported already since Safari 15.4?
https://caniuse.com/mdn-css_properties_mask-mode