Errata on preserveAspectRatio (and viewBox) attribute

Hello,

There is some missing or ambiguous points about the preserveAspectRatio and
the viewBox attribute in the SVG 1.1 Spec.

First, the preserveAspectRatio attribute definition [1] does not mention
that the feImage element [2] also support that attribute.

Second, the attribute index appendix [3] forget to mention the support of
the preserveAspectRatio attribute for the foreignObject element. But that
seams ok because the foreignObject element [4] itself does not mention
support for the preserveAspectRatio (nor the viewBox attribute [5] either).
However, according to the preserveAspectRatio and viewBox attributes
definitions, they are both supported by elements that create a new viewport
[6] and this include foreignObject. FWIW, there is no clear exception on
those attributes definition that say explicitly that they should not be
supported by the foreignObject element.

So, I guess that foreignObject do not support preserveAspectRatio and
viewBox but it's ambiguous.

[1] http://www.w3.org/TR/SVG11/coords.html#PreserveAspectRatioAttribute
[2] http://www.w3.org/TR/SVG11/filters.html#feImageElement
[3] http://www.w3.org/TR/SVG11/attindex.html
[4] http://www.w3.org/TR/SVG11/extend.html#ForeignObjectElement
[5] http://www.w3.org/TR/SVG11/coords.html#ViewBoxAttribute
[6] http://www.w3.org/TR/SVG11/coords.html#ElementsThatEstablishViewports

Cheers
-- 
Jeremie
.............................
Web : http://jeremie.patonnier.net
Twitter : @JeremiePat <http://twitter.com/JeremiePat>

Received on Wednesday, 14 March 2012 20:05:30 UTC