problem with animation test suite

Referring to the SVG 1.1 test suite, the first animation test

The test has <animate attributeName="height" .... >

From SVG Spec on animation and choosing between CSS and XML attribute

"auto" (or when it's not specified, as is the case for the test suite)
The implementation should match the attributeName to an attribute for the
target element. The implementation must first search through the list of CSS
properties for a matching property name, and if none is found, search the
default XML namespace for the element.

So the correct behavior for the suite is to search through the CSS
properties first.

This is okay for SVG only implementations, since there's no 'height' CSS
property defined in SVG, but it just so happens that my implementation also
deals with XHTML, so it supports height as a CSS property.

How should I deal with this? Is it an oversight in the test suite? Or should
I only look for SVG properties when the <animate> element is in the SVG


Sigurd Lerstad

Received on Wednesday, 23 April 2003 22:56:15 UTC