W3C home > Mailing lists > Public > www-svg@w3.org > November 2010

Re: inconsistency about preserveAspectRatio for <image> element

From: Chris Lilley <chris@w3.org>
Date: Mon, 29 Nov 2010 16:17:22 +0100
Message-ID: <1851198427.20101129161722@w3.org>
To: Daniel Holbert <dholbert@mozilla.com>, www-svg@w3.org
On Tuesday, October 12, 2010, 10:16:32 PM, Chris wrote:

CL> On Tuesday, October 12, 2010, 1:54:09 AM, Daniel wrote:

DH>> Hi www-svg,

DH>> I'm writing to request a modification to the SVG 1.1 spec, to clear up
DH>> an inconsistency.

CL> Thanks, Daniel.

CL> We are tracking this as ISSUE-2383.

CL> Will mail once we have updated text in place for your review.

Here is the updated wording, from the editor's draft. (Please ignore
the attribute-less <a> elements in the markup - the href is added
automatically when the spec is built).

    <p>When an <a>'image'</a> element
    references an SVG image the clip and overflow properties on the root element in
    the referenced SVG image are ignored (in the same manner as the
    x, y, width and height attributes are ignored). Unless the value of
    <a>'preserveAspectRatio'</a> on the <a>'image'</a> element starts with 'defer', 
    the <a>'preserveAspectRatio'</a> attribute on the root element in
    the referenced SVG image is also ignored (see <a>'preserveAspectRatio'</a>
    for details).
    
    Instead, the <a>'preserveAspectRatio'</a> attribute on
    the referencing <a>'image'</a>
    element defines how the SVG image content is fitted into the
    viewport and the clip and overflow properties on the <a>'image'</a> element define how the SVG
    image content is clipped (or not) relative to the viewport.</p>

Please let us know whether this revised wording is satisfactory.

-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
Received on Monday, 29 November 2010 15:17:39 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:46 GMT