Avoid crashing on stdDeviation attribute
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
c504891bd7
commit
8a2892b458
3 changed files with 24 additions and 2 deletions
|
|
@ -1862,7 +1862,8 @@ default_attributes = [
|
|||
DefaultAttribute('seed', 0, elements=['feTurbulence']),
|
||||
DefaultAttribute('specularConstant', 1, elements=['feSpecularLighting']),
|
||||
DefaultAttribute('specularExponent', 1, elements=['feSpecularLighting', 'feSpotLight']),
|
||||
DefaultAttribute('stdDeviation', 0, elements=['feGaussianBlur']),
|
||||
# Pretend it is a string (for the same reasons as we do with "order")
|
||||
DefaultAttribute('stdDeviation', '0', elements=['feGaussianBlur']),
|
||||
DefaultAttribute('stitchTiles', 'noStitch', elements=['feTurbulence']),
|
||||
DefaultAttribute('surfaceScale', 1, elements=['feDiffuseLighting', 'feSpecularLighting']),
|
||||
DefaultAttribute('type', 'matrix', elements=['feColorMatrix']),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue