W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2008

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

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 18 Jul 2008 05:32:23 +0000 (GMT)
To: public-svg-wg@w3.org
Message-Id: <20080718053223.1BFFC6B646@tibor.w3.org>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:09 UTC