wpt / svg / types / scripted / SVGAnimatedNumber-initial-values.html

Status: FAIL | Duration: 90ms | Subtests: 0/102 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.slope (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.slope (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.intercept (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.intercept (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.amplitude (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.amplitude (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.exponent (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.exponent (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.offset (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGComponentTransferFunctionElement.prototype.offset (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k1 (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k1 (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k2 (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k2 (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k3 (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k3 (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k4 (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFECompositeElement.prototype.k4 (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.divisor (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.divisor (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.bias (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.bias (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthX (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthX (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthY (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEConvolveMatrixElement.prototype.kernelUnitLengthY (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.surfaceScale (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.surfaceScale (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.diffuseConstant (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.diffuseConstant (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthX (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthX (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthY (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDiffuseLightingElement.prototype.kernelUnitLengthY (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDisplacementMapElement.prototype.scale (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDisplacementMapElement.prototype.scale (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.azimuth (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.azimuth (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.elevation (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDistantLightElement.prototype.elevation (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.dx (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.dx (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.dy (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.dy (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.stdDeviationX (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.stdDeviationX (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.stdDeviationY (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEDropShadowElement.prototype.stdDeviationY (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEGaussianBlurElement.prototype.stdDeviationX (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEGaussianBlurElement.prototype.stdDeviationX (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEGaussianBlurElement.prototype.stdDeviationY (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEGaussianBlurElement.prototype.stdDeviationY (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEMorphologyElement.prototype.radiusX (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEMorphologyElement.prototype.radiusX (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEMorphologyElement.prototype.radiusY (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEMorphologyElement.prototype.radiusY (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEOffsetElement.prototype.dx (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEOffsetElement.prototype.dx (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEOffsetElement.prototype.dy (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEOffsetElement.prototype.dy (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.x (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.x (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.y (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.y (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.z (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFEPointLightElement.prototype.z (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.surfaceScale (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.surfaceScale (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularConstant (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularConstant (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularExponent (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.specularExponent (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthX (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthX (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthY (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpecularLightingElement.prototype.kernelUnitLengthY (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.x (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.x (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.y (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.y (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.z (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.z (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtX (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtX (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtY (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtY (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtZ (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.pointsAtZ (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.specularExponent (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.specularExponent (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.limitingConeAngle (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFESpotLightElement.prototype.limitingConeAngle (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFETurbulenceElement.prototype.baseFrequencyX (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFETurbulenceElement.prototype.baseFrequencyX (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFETurbulenceElement.prototype.baseFrequencyY (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFETurbulenceElement.prototype.baseFrequencyY (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFETurbulenceElement.prototype.seed (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGFETurbulenceElement.prototype.seed (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGGeometryElement.prototype.pathLength (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGGeometryElement.prototype.pathLength (invalid value)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGStopElement.prototype.offset (remove)FAILcannot convert 'null' or 'undefined' to object
SVGAnimatedNumber, initial values, SVGStopElement.prototype.offset (invalid value)FAILcannot convert 'null' or 'undefined' to object

/svg/types/scripted/SVGAnimatedNumber-initial-values.html

<!DOCTYPE html>
<title>SVGAnimatedNumber, initial values</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/initial-value-helper.js"></script>
<script>
// Map from IDL attribute to content attribute:
const propertyToAttributeMap = {
  kernelUnitLengthX: 'kernelUnitLength',
  kernelUnitLengthY: 'kernelUnitLength',
  baseFrequencyX: 'baseFrequency',
  baseFrequencyY: 'baseFrequency',
  stdDeviationX: 'stdDeviation',
  stdDeviationY: 'stdDeviation',
  radiusX: 'radius',
  radiusY: 'radius',
};

assert_initial_values([
  { interface: 'SVGComponentTransferFunctionElement',
    attributes: [ 'slope', 'intercept', 'amplitude', 'exponent', 'offset' ],
    slope: { initial: 1 }, amplitude: { initial: 1 }, exponent: { initial: 1 } },
  { interface: 'SVGFECompositeElement', attributes: [ 'k1', 'k2', 'k3', 'k4' ] },
  { interface: 'SVGFEConvolveMatrixElement',
    attributes: [ 'divisor', 'bias', 'kernelUnitLengthX', 'kernelUnitLengthY' ],
    divisor: { initial: 1 } },
  { interface: 'SVGFEDiffuseLightingElement',
    attributes: [ 'surfaceScale', 'diffuseConstant', 'kernelUnitLengthX', 'kernelUnitLengthY' ],
    diffuseConstant: { initial: 1 }, surfaceScale: { initial: 1 } },
  { interface: 'SVGFEDisplacementMapElement', attributes: [ 'scale' ] },
  { interface: 'SVGFEDistantLightElement', attributes: [ 'azimuth', 'elevation' ] },
  { interface: 'SVGFEDropShadowElement',
    attributes: [ 'dx', 'dy', 'stdDeviationX', 'stdDeviationY' ],
    dx: { initial: 2 }, dy: { initial: 2 }, stdDeviationX: { initial: 2 },  stdDeviationY: { initial: 2 } },
  { interface: 'SVGFEGaussianBlurElement', attributes: [ 'stdDeviationX', 'stdDeviationY' ] },
  { interface: 'SVGFEMorphologyElement', attributes: [ 'radiusX', 'radiusY' ] },
  { interface: 'SVGFEOffsetElement', attributes: [ 'dx', 'dy' ] },
  { interface: 'SVGFEPointLightElement', attributes: [ 'x', 'y', 'z' ] },
  { interface: 'SVGFESpecularLightingElement',
    attributes: [ 'surfaceScale', 'specularConstant', 'specularExponent', 'kernelUnitLengthX', 'kernelUnitLengthY' ],
    specularConstant: { initial: 1 }, specularExponent: { initial: 1 }, surfaceScale: { initial: 1 } },
  { interface: 'SVGFESpotLightElement',
    attributes: [ 'x', 'y', 'z', 'pointsAtX', 'pointsAtY', 'pointsAtZ', 'specularExponent', 'limitingConeAngle' ],
    specularExponent: { initial: 1 } },
  { interface: 'SVGFETurbulenceElement', attributes: [ 'baseFrequencyX', 'baseFrequencyY', 'seed' ] },
  { interface: 'SVGGeometryElement', attributes: [ 'pathLength' ] },
  { interface: 'SVGStopElement', attributes: [ 'offset' ] },
], { initial: 0, valid: '42', mapProperty: propertyToAttributeMap });
</script>