ISSUE-2021 (image-bbox): Bounding box of <image> subject to aspect-ratio preservation undefined [SVG Tiny 1.2]

ISSUE-2021 (image-bbox): Bounding box of <image> subject to aspect-ratio preservation undefined [SVG Tiny 1.2]

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

Raised by: Cameron McCormack
On product: SVG Tiny 1.2

The spec doesn't really define what the bounding box of an <image> is.  The non-obvious case is when preserveAspectRatio="" is set so that the image doesn't take up the whole area specified on the <image> element.

Test:

  http://dev.w3.org/SVG/profiles/1.1F2/ua-tests/image-bbox.svg

In Firefox 3 and Opera 9.5, the bounding box is [0,0,400,400].  In Batik 1.7, it's [100,0,200,400].  I suppose I would prefer the latter, since it lets you determine the aspect ratio of the image from script.

Received on Friday, 18 July 2008 05:34:02 UTC