commit | 94730febf9c56d5ee58da51db816cfcc422c986a | [log] [tgz] |
---|---|---|
author | Tyler Denniston <tdenniston@google.com> | Thu Jan 14 15:53:32 2021 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jan 14 22:04:48 2021 +0000 |
tree | c4beb9479ae00b02a578155f574f89929ef723a4 | |
parent | 3df6c20a050ae8bba8810401cb33e6ec0a8a98e1 [diff] |
[svg] Handle std input case for filter subregion calculation From the spec [1], if any inputs of a filter are one of the standard inputs (SourceGraphic, FillPaint, etc. -- anything except another filter), then the default filter primitive subregion is equal to the filter effect region. [1] https://www.w3.org/TR/SVG11/filters.html#FilterPrimitiveSubRegion Bug: skia:10841 Change-Id: I70632e5119861c46c9e48af944d2c7cfdfc3c351 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/354119 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Tyler Denniston <tdenniston@google.com>