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

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 UTC