Apply ctx.filter to canvas 2d layers
WebKit and Blink agreed that the filter
context state should apply to
the output of layers.
whatwg/html#9537 (comment)
The context filter
state is applied after the filter passed as
argument to beginLayer
. The context filter
is now reset when
entering layers.
Bug: 40249439
Change-Id: I5daf82672c334cdc96a90af8e9fe5dd4466849cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5626086
Commit-Queue: Jean-Philippe Gravel jpgravel@chromium.org
Reviewed-by: Andres Ricardo Perez andresrperez@chromium.org
Cr-Commit-Position: refs/heads/main@{#1344173}