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:

Because symbol is never rendered directly
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.

Received on Wednesday, 13 August 2008 10:10:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:14 UTC