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

ISSUE-2286 (resolve_kernelunitlength): Resolving relative values in @kernelUnitLength (number-optional-number) [SVG Filters 1.2]

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 29 Jun 2009 14:13:23 +0000 (GMT)
To: public-svg-wg@w3.org
Message-Id: <20090629141323.21933C6DB9@barney.w3.org>

ISSUE-2286 (resolve_kernelunitlength): Resolving relative values in @kernelUnitLength (number-optional-number) [SVG Filters 1.2]

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

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

When resolving relative values based on @primitiveUnits for @kernelUnitLength it's unclear what result is expected.

Example: 
<filter primitiveUnits="objectBoundingBox">
  <feConvolveMatrix kernelUnitLength="8" .../>
</filter>

a) @kernelUnitLength is expanded to "8 8", then relative values are calculated
b) relative values calculated for the x value, then duplicated to y

The kernelUnit will be slightly weird if the b) option is picked because it's then not depending on the height of the target element boundingbox at all. Thus I'm leaning towards clarifying that a) is the expected result.

[1] http://www.w3.org/TR/SVG11/filters.html#feConvolveMatrixElementKernelUnitLengthAttribute
Received on Monday, 29 June 2009 14:13:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 29 June 2009 14:13:34 GMT