ISSUE-2383 (par image defer): Last Call Comment: pAR on image, and defer [SVG 1.1 F2 Last Call]

ISSUE-2383 (par image defer): Last Call Comment: pAR on image, and defer [SVG 1.1 F2  Last Call]

http://www.w3.org/Graphics/SVG/WG/track/issues/2383

Raised by: Chris Lilley
On product: SVG 1.1 F2  Last Call

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

Received on Tuesday, 12 October 2010 21:13:19 UTC