W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2009

ISSUE-2285 (z_primitiveunits): Resolving @primitiveUnits and z attribute discrepancies [SVG Filters 1.2]

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 29 Jun 2009 12:45:33 +0000 (GMT)
To: public-svg-wg@w3.org
Message-Id: <20090629124533.E9031BF5D@nelson.w3.org>

ISSUE-2285 (z_primitiveunits): Resolving @primitiveUnits and z attribute discrepancies [SVG Filters 1.2]

http://www.w3.org/Graphics/SVG/WG/track/issues/2285

Raised by: Erik Dahlström
On product: SVG Filters 1.2

The feSpotLight@z and fePointLight@z attributes[1], claim to be depending on @primitiveUnits. As per the units section[2] that means that if primitiveUnits=objectBoundingBox the values are computed as percentages of sqrt((boxwidth)**2 + (boxheight)**2))/sqrt(2).

The question is: is this intuitive and does it give useful behaviour considering Z is an axis for which no coordinatesystem has been defined? Also feSpotLight@pointAtZ doesn't seem to depend on @primitiveUnits unlike @pointAtX and @pointAtY. Should @pointsAtZ be treated like @z wrt @primitiveUnits, or should @z not depend on @primitiveUnits at all?

[1] http://www.w3.org/TR/SVG11/filters.html#feSpotLight
[2] http://www.w3.org/TR/SVG11/coords.html#Units
Received on Monday, 29 June 2009 12:45:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 29 June 2009 12:45:48 GMT