W3C home > Mailing lists > Public > www-svg@w3.org > August 2008

Re: Can symbol contain width and height attributes?

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Wed, 13 Aug 2008 11:56:21 +0200
To: www-svg@w3.org, jiri.klement@gmail.com
Message-Id: <200808131156.21599.Dr.O.Hoffmann@gmx.de>

Hi too,

symbol can have a viewBox,
the use can have width and height
in the full versions.
Both together determine, how a symbol
appears, if referenced with a use element.

See DTD:
http://www.w3.org/TR/SVG11/svgdtd.html#DTD.1.17


Because symbol is never rendered directly
http://www.w3.org/TR/SVG11/struct.html#SymbolElement
there is obviously no need for width and height, they have
simply no meaning for something not directly appearing
anywhere rendered somehow ;o)

If you find, that the width and height accidently set on 
symbol have an effect on rendering somehow except an
appearence of a warning message or something
in a specific user agent, I think, you can report this
as a bug to the developers of this user agent.
The same applies, if symbol is directly rendered.

http://www.w3.org/TR/SVG11/implnote.html#ErrorProcessing
Received on Wednesday, 13 August 2008 10:10:57 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:40 GMT