commit | 8ed044363f0874d0501460ab05982d771cdeb5a9 | [log] [tgz] |
---|---|---|
author | Tyler Denniston <tdenniston@google.com> | Thu Dec 10 15:51:04 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Dec 11 15:02:20 2020 +0000 |
tree | 5d0fa7d020c8aec80f341a6f6d0b520169dcb591 | |
parent | e2d34f8ebfe209562e115664255a252c827c05a3 [diff] [blame] |
[svg] Add feFlood filter node Several related W3C tests still won't pass until we implement the filter primitive subregion. Bug: skia:10841 Change-Id: I9e4beb9da8aa769f23a979ad5116a38fcda85ca4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/343105 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Tyler Denniston <tdenniston@google.com>
diff --git a/modules/svg/src/SkSVGAttribute.cpp b/modules/svg/src/SkSVGAttribute.cpp index d07aa91..843437c 100644 --- a/modules/svg/src/SkSVGAttribute.cpp +++ b/modules/svg/src/SkSVGAttribute.cpp
@@ -36,6 +36,8 @@ result.fStopColor.set(SkSVGColor(SK_ColorBLACK)); result.fStopOpacity.set(SkSVGNumberType(1)); + result.fFloodColor.set(SkSVGColor(SK_ColorBLACK)); + result.fFloodOpacity.set(SkSVGNumberType(1)); return result; }