Setting some SVG element properties throws NoModificationAllowedError

Issue #6618301 • Assigned to Bogdan B.

Details

Created
Feb 19, 2016
Privacy
This issue is public.
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

SVGFEMorphologyElement.radiusX and radiusY

var feMorphologyFilter = document.createElementNS("http://www.w3.org/2000/svg", “feMorphology”); feMorphologyFilter.radiusX.baseVal = 0;
NoModificationAllowedError

SVGFEGaussianBlurElement.stdDeviationX and stdDeviationY

var gaussianBlurFilter = document.createElementNS("http://www.w3.org/2000/svg", “feGaussianBlur”); gaussianBlurFilter.stdDeviationX.baseVal = 0;
NoModificationAllowedError

I haven’t tested this with other elements and attributes to see if any others are broken. Atleast some properties like SVGFEMorphologyElement.in1 and SVGFEMorphology.operator are fine:

feMorphologyFilter.in1.baseVal = "SourceGraphic"; feMorphologyFilter.in1.baseVal
“SourceGraphic”

feMorphologyFilter.operator.baseVal = SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE; feMorphologyFilter.operator.baseVal
2


setAttribute() can be used as a workaround.

feMorphologyFilter.setAttribute("radius", “0”); feMorphologyFilter.radiusX.baseVal
0

Edge on W10 x64 (25.10586.0.0), IE11 on W7 x64

Expected Results:

These properties should be settable.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    You need to sign in to your Microsoft account to add a comment.

    Sign in