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

Re: About test paint-grad-17-t

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Wed, 16 Jul 2008 19:35:41 +0200
To: www-svg@w3.org
Message-Id: <200807161935.41488.Dr.O.Hoffmann@gmx.de>

Jonathan - 
this is related to the method to determine the bounding box,
necessary to create a gradient.
 
http://dev.w3.org/SVG/profiles/1.2T/publish/coords.html#ObjectBoundingBoxUnits

In three of four cases the line has a 'bounding box'  with a height of zero,
according to the rule
'When the geometry of the applicable element has no width or height and 
objectBoundingBox is specified, then the given effect (e.g., a gradient) will 
be ignored.'
gradient ist not applicable and the fallback gets visible.

Oh - gradientUnits="objectBoundingBox" is the effect, if no gradientUnits is
specified for gradients as in the code you cited.
Received on Thursday, 17 July 2008 07:41:18 GMT

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