ISSUE-2383: Last Call Comment: pAR on image, and defer
par image defer
Last Call Comment: pAR on image, and defer
- State:
- RAISED
- Product:
- SVG 1.1 F2 Last Call
- Raised by:
- Chris Lilley
- Opened on:
- 2010-10-12
- Description:
- http://lists.w3.org/Archives/Public/www-svg/2010Oct/0047.html
Hi www-svg,
I'm writing to request a modification to the SVG 1.1 spec, to clear up
an inconsistency.
The inconsistent sections are quoted at the bottom of this post.
The inconsistency is as follows:
- The <image> documentation[1] says that the referenced SVG root node's
preserveAspectRatio attribute is "ignored". It doesn't mention any
exceptions to this rule.
- BUT, the preserveAspectRatio documentation[2] says that this
attribute might **not** be ignored -- in particular, if we have
<image preserveAspectRatio="defer" ...>
then the root node's preserveAspectRatio value will be honored.
Please consider editing the <image> documentation to be less absolute
(and more consistent with the preserveAspectRatio documentation).
For example, the <image> documentation[1] could be modified to say
something like:
> When an ‘image’ element references an SVG image, the
> clip and overflow properties on the root element in the
> referenced SVG image are ignored. The ‘preserveAspectRatio’
> attribute on the root element might also be ignored, depending
> on the value of the ‘image’ element's ‘preserveAspectRatio’
> attribute -- see the ‘preserveAspectRatio’ documentation
> for more details.
(I'm not sure if 'might' is the right word above -- sadly I'm not fluent
in spec-speak. :))
Thanks!
Daniel Holbert
Mozilla Corporation
[1] Section 5.7, on image:
> When an ‘image’ element references an SVG image the
>‘preserveAspectRatio’ attribute as well as the clip
> and overflow properties on the root element in the
> referenced SVG image are ignored
http://www.w3.org/TR/SVG11/struct.html#ImageElement
[2] Section 7.8, on preserveAspectRatio:
> If the value of ‘preserveAspectRatio’ on an ‘image’
> element starts with 'defer' then the value of the
> ‘preserveAspectRatio’ attribute on the referenced
> content if present should be used.
http://www.w3.org/TR/SVG11/coords.html#PreserveAspectRatioAttribute
- Related Actions Items:
ACTION-2881 on Chris Lilley to Add wording to the specification to address issue raised in Inconsistency about preserveAspectRatio for <image> element - due 2010-10-19, closed- Related emails:
- SVG/profiles/1.1F2/DoC disco.xsl,1.4,1.5 dump.html,1.3,1.4 (from cvsmail@w3.org on 2011-05-04)
- SVG/profiles/1.1F2/master struct.html,1.30,1.31 (from cvsmail@w3.org on 2010-11-29)
- Re: inconsistency about preserveAspectRatio for <image> element (from chris@w3.org on 2010-11-29)
- SVG/profiles/1.1F2/master struct.html,1.29,1.30 (from cvsmail@w3.org on 2010-11-29)
- status update (from cam@mcc.id.au on 2010-11-25)
- Agenda Nov 18 2010 SVG WG telcon (from ed@opera.com on 2010-11-17)
- Minutes, 12 Oct 2010 SVG WG telcon (from chris@w3.org on 2010-10-12)
- Re: inconsistency about preserveAspectRatio for <image> element (from dholbert@mozilla.com on 2010-10-12)
- Re: inconsistency about preserveAspectRatio for <image> element (from chris@w3.org on 2010-10-12)
- ISSUE-2383 (par image defer): Last Call Comment: pAR on image, and defer [SVG 1.1 F2 Last Call] (from sysbot+tracker@w3.org on 2010-10-12)
Related notes:
ACTION: Accept
Chris Lilley, 29 Nov 2010, 15:23:18RESOLUTION: Edited wording to remove the inconsistency
Chris Lilley, 29 Nov 2010, 15:23:59CHANGE-TYPE: Editorial
Chris Lilley, 29 Nov 2010, 15:25:31COMMENTER-RESPONSE: Accept
Chris Lilley, 29 Nov 2010, 18:53:47Display change log