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 19:44:37 +0100
Message-ID: <1987492559.20101129194437@w3.org>
To: Daniel Holbert <dholbert@mozilla.com>
CC: www-svg@w3.org
On Monday, November 29, 2010, 7:18:17 PM, Daniel wrote:

DH> Hi Chris,

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

Thanks for the confirmation.

DH> ~Daniel

DH> P.S. (One extreme nit, unrelated to the inconsistency: it might help the
DH> readability & improve grammatical correctness if a comma was added
DH> immediately after
DH>   "When an image element references an SVG image"
DH> in the very first sentence.  

Agreed, fixed.

DH> 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.

 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 18:44:53 UTC

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