Similar to canvas and offscreencanvas, this should be supported in PaintRenderingContext2D.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/22393627cd746171f238bf3cde20fa15db66997d commit 22393627cd746171f238bf3cde20fa15db66997d Author: Xida Chen <xidachen@chromium.org> Date: Tue Jun 06 00:05:19 2017 Support filter operations in PaintRenderingContext2D This CL makes PaintRenderingContext2D support filter operations. The infra for the filter operations is already built in the BaseRenderingContext2D. What we really need to do is just to expose that in the IDL file. In addition, this CL adds a layout test to verify the correctness. The layout test is the same as the layout test for OffscreenCanvas's filter operations. Bug: 728600 Change-Id: I0e8f26bc4afd5e679807dcb527149167535952e4 Reviewed-on: https://chromium-review.googlesource.com/522445 Commit-Queue: Xida Chen <xidachen@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#477127} [add] https://crrev.com/22393627cd746171f238bf3cde20fa15db66997d/third_party/WebKit/LayoutTests/http/tests/csspaint/paint2d-filter-expected.html [add] https://crrev.com/22393627cd746171f238bf3cde20fa15db66997d/third_party/WebKit/LayoutTests/http/tests/csspaint/paint2d-filter.html [modify] https://crrev.com/22393627cd746171f238bf3cde20fa15db66997d/third_party/WebKit/LayoutTests/http/tests/worklet/webexposed/global-interface-listing-paint-worklet-expected.txt [modify] https://crrev.com/22393627cd746171f238bf3cde20fa15db66997d/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.cpp [modify] https://crrev.com/22393627cd746171f238bf3cde20fa15db66997d/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h [modify] https://crrev.com/22393627cd746171f238bf3cde20fa15db66997d/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.idl
Comment 1 by xidac...@chromium.org
, Jun 5 2017