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.

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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:19 UTC