<?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>260691</bug_id>
          
          <creation_ts>2023-08-24 18:40:42 -0700</creation_ts>
          <short_desc>Support filtering in CanvasRenderingContext2D layers</short_desc>
          <delta_ts>2024-07-02 11:51:02 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Canvas</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>273923</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>259494</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kiet Ho">kiet.ho</reporter>
          <assigned_to name="Kiet Ho">kiet.ho</assigned_to>
          <cc>dino</cc>
    
    <cc>karlcow</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1973421</commentid>
    <comment_count>0</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2023-08-24 18:40:42 -0700</bug_when>
    <thetext>Support filtering in CanvasRenderingContext2D layers</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973422</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-24 18:41:33 -0700</bug_when>
    <thetext>&lt;rdar://problem/114420597&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973424</commentid>
    <comment_count>2</comment_count>
    <who name="Kiet Ho">kiet.ho</who>
    <bug_when>2023-08-24 18:44:33 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/17050</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035205</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-05-14 04:08:40 -0700</bug_when>
    <thetext>The lack of support for filters on Canvas makes Safari fails a number of tests

I can find 84 files mentionning ctx.filter on WPT
https://github.com/search?q=repo%3Aweb-platform-tests%2Fwpt+ctx.filter&amp;type=code
It doesn&apos;t mean that all of them are relevant but some will fail.

I avoided the tentative, and I might have missed some of them.

http://wpt.live/css/css-paint-api/paint2d-filter-ref.html
https://wpt.live/html/canvas/element/filters/2d.filter.value.html
https://wpt.live/html/canvas/element/manual/shadows/canvas_shadows_system_colors.html
https://wpt.live/html/canvas/offscreen/reset/2d.reset.state.filter.html
http://wpt.live/html/canvas/element/manual/filters/canvas-filter-opacity.html
http://wpt.live/html/canvas/element/reset/2d.reset.state.filter.html
https://wpt.live/html/canvas/offscreen/reset/2d.reset.render.misc.html
https://wpt.live/html/canvas/element/manual/filters/canvas-filter-shadow-and-properties-blur.html
https://wpt.live/html/canvas/element/manual/filters/canvas-filter-opacity-alpha-and-fillStyle.html
http://wpt.live/html/canvas/element/manual/filters/svg-filter-lh-rlh.html
https://wpt.live/html/canvas/element/manual/filters/canvas-filter-shadow-and-properties.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2044241</commentid>
    <comment_count>4</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2024-07-02 11:51:02 -0700</bug_when>
    <thetext>This is already implemented in 280148@main.

*** This bug has been marked as a duplicate of bug 273923 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>