<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>94359</bug_id>
          
          <creation_ts>2012-08-17 10:14:23 -0700</creation_ts>
          <short_desc>[CI][CSS Masking] apply luminance mask to context</short_desc>
          <delta_ts>2024-11-05 18:09:07 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=282530</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>95389</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Schulze">krit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alexander</cc>
    
    <cc>eoconnor</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>698454</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2012-08-17 10:14:23 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992402</commentid>
    <comment_count>1</comment_count>
    <who name="Alex">alexander</who>
    <bug_when>2023-11-14 00:49:33 -0800</bug_when>
    <thetext>Isn&apos;t it supported already since Safari 15.4?
https://caniuse.com/mdn-css_properties_mask-mode</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>