Support filtering in CanvasRenderingContext2D layers
<rdar://problem/114420597>
Pull request: https://github.com/WebKit/WebKit/pull/17050
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&type=code It doesn'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
This is already implemented in 280148@main. *** This bug has been marked as a duplicate of bug 273923 ***