Problem with udom-svg-224-t.svg

Hi guys,

	This being an at-risk test I've taken a detailed look at it.

	Inside there is some script that looks like:
--
        e = document.createElementNS(SVGNS, 'animateMotion');
        e.setTrait('begin', '5s');
        e.setAttributeNS(null, 'path', 'M0,0 L100,0');
        e.setAttributeNS(null, 'from', '0');
        e.setAttributeNS(null, 'to', '1');
        e.setAttributeNS(null, 'dur', '0.1s');
        e.setAttributeNS(null, 'fill', 'freeze');
        c1.appendChild(e);
--
	Since this is 'animateMotion' and the spec says "For 'animateMotion',
the specified values for 'from', 'by', 'to' and 'values' consists of x, y
coordinate pairs..." this means that the script lines:
--
        e.setAttributeNS(null, 'from', '0');
        e.setAttributeNS(null, 'to', '1');
--
	are in error.

	This may cause implementations to reject the incorrect setting,
and in fact given the earlier part of the test it should really raise
TYPE_MISMATCH_ERR.

	In any case, there are problems with the test as it stands.
I'd suggest removing the offending bits of ECMAScript, as the rest
of the test exercises lots of the uDOM.

Alex

Received on Sunday, 19 October 2008 12:02:08 UTC