Update handling of negative radius for feMorphology
Spec[1] states:
"A negative or zero value disables the effect of the given filter
primitive (i.e., the result is the filter input image)."
So change FEMorphology to clamp radii to non-negative and stop treating
as an error in SVGFEMorphologyElement::build.
[1] https://drafts.fxtf.org/filters/#element-attrdef-femorphology-radius
BUG=533457
Review URL: https://codereview.chromium.org/1344283004
git-svn-id: svn://svn.chromium.org/blink/trunk@202644 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed