Can symbol contain width and height attributes?

Hi,

Is it possible to specify width and height of symbol in symbol
element? Is following svg valid?

<defs><symbol id="test" width="5" height="5">...</symbol></defs>
<use xlink:href="test"/>

The specification is not clear on this. From
http://www.w3.org/TR/SVG11/struct.html#UseElement it seems as it's
possible to define width&height in symbol element, but width and heigt
are not valid symbol attributes.

Firefox and batik use width and height specified in symbol element,
inkscape and opera ignores it.

--
Jiri

Received on Wednesday, 13 August 2008 09:10:52 UTC