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

Re: inconsistency about preserveAspectRatio for <image> element

From: Daniel Holbert <dholbert@mozilla.com>
Date: Mon, 29 Nov 2010 10:18:17 -0800
Message-ID: <4CF3EE69.2040209@mozilla.com>
To: Chris Lilley <chris@w3.org>, www-svg@w3.org
Hi Chris,

That revised text definitely clears up the inconsistency, and it looks
good to me.  Thanks!


P.S. (One extreme nit, unrelated to the inconsistency: it might help the
readability & improve grammatical correctness if a comma was added
immediately after
  "When an image element references an SVG image"
in the very first sentence.  That's very minor, though, and probably not
too important.)

On 11/29/2010 07:17 AM, Chris Lilley wrote:
> 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.
Received on Monday, 29 November 2010 18:18:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:29 UTC