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

svgView transform behaviour (was: Re: [svg2] transform on <svg>)

From: Erik Dahlström <ed@opera.com>
Date: Fri, 27 Feb 2015 13:15:37 +0100
To: www-svg@w3.org
Message-ID: <op.xuptobxfdhsuf5@gnorps>
After the discussion yesterday[1] I had some more thoughts on this topic.

On the idea of overriding the root <svg> transform using svgView, note
that since SVG2 uses css transform syntax we also have the 'none' keyword
which wasn't there in svg 1.1.

Should #svgView(transform(none)) mean that the transform set on the root
<svg> element is ignored?

If one wants to use more than one transform, say to scale and translate,
should that be possible to do using svgView? The order of application
would then need to be defined.

What happens if you add 'transform(none)' in the middle or the svgView
syntax, e.g  
svgView(transform(scale(2)),transform(none),transform(scale(2)))?



[1] http://www.w3.org/2015/02/26-svg-minutes.html#item03.

-- 
Erik Dahlstrom, Web Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Received on Friday, 27 February 2015 12:16:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:39 UTC