ISSUE-2021: Bounding box of <image> subject to aspect-ratio preservation undefined

image-bbox

Bounding box of <image> subject to aspect-ratio preservation undefined

State:
OPEN
Product:
SVG 2
Raised by:
Cameron McCormack
Opened on:
2008-07-18
Description:
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.
Related Actions Items:
Related emails:
  1. Minutes Feb 12, 2009, telcon (from anthony.grasso@cisra.canon.com.au on 2009-02-13)
  2. Agenda Feb 12, 2009, telcon (from ed@opera.com on 2009-02-12)
  3. Minutes, SVG Nuremberg Face-to-Face Day 1, Thursday 21 August 2008 (from anthony.grasso@cisra.canon.com.au on 2008-08-22)
  4. Agenda, August 14th, 2008 (from andrew.emmons@quickoffice.com on 2008-08-14)
  5. Agenda August 7th, 2008 telcon (from andrew.emmons@quickoffice.com on 2008-08-06)
  6. Agenda July 24, 2008 telcon (from ed@opera.com on 2008-07-24)
  7. Re: ISSUE-2021 (image-bbox): Bounding box of <image> subject to aspect-ratio preservation undefined [SVG Tiny 1.2] (from cam@mcc.id.au on 2008-07-22)
  8. Re: ISSUE-2021 (image-bbox): Bounding box of <image> subject to aspect-ratio preservation undefined [SVG Tiny 1.2] (from ed@opera.com on 2008-07-22)
  9. Re: ISSUE-2021 (image-bbox): Bounding box of <image> subject to aspect-ratio preservation undefined [SVG Tiny 1.2] (from cam@mcc.id.au on 2008-07-19)
  10. ISSUE-2021 (image-bbox): Bounding box of <image> subject to aspect-ratio preservation undefined [SVG Tiny 1.2] (from sysbot+tracker@w3.org on 2008-07-18)

Related notes:

[heycam]: ASV returns (0,0,400,400) for the test case.

21 Aug 2008, 10:55:34

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $