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

Why are <svg> elements not SVGTransformable?

From: Jeff Schiller <codedread@gmail.com>
Date: Sat, 20 Feb 2010 02:33:19 -0600
Message-ID: <da131fde1002200033t3506f84eg26082ed3ac7193c7@mail.gmail.com>
To: www-svg <www-svg@w3.org>
The SVG 1.1 spec says [1] that <svg> elements do not implement the
SVGTransformable interface.

Why not?  I'm curious on the decision here, can someone explain to me
why this wouldn't be acceptable?

<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg">

  <svg viewBox="0 0 320 240" height="100" width="100" y="0" x="300"
id="inner_svg" transform="rotate(10)">
   <rect width="150" height="100" fill="green"/>
   <ellipse cx="119" cy="127" fill="#FF0000" rx="90" ry="33"/>


It forces me to add a <g> wrapper around the inner_svg when I don't
really see the need.

Jeff Schiller

[1] http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement
Received on Saturday, 20 February 2010 08:33:48 UTC

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