W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2010

Re: Some thoughts on css transforms in svg

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 11 Mar 2010 14:23:50 -0800
To: Erik Dahlstrom <ed@opera.com>
Cc: "public-fx@w3.org" <public-fx@w3.org>, www-svg <www-svg@w3.org>
Message-ID: <20100311222350.GA1593@pickering.dbaron.org>
On Thursday 2010-03-11 19:48 +0100, Erik Dahlstrom wrote:
> Here are some possible ways of adding support for css transforms in svg:
> 
> 1. Treat it as any of the other CSS properties that SVG share with
> HTML/CSS (e.g 'display'), basically same as overriding the attribute
> Advantage(s): mostly consistent with the model (possibly with the
> exception of 'none')
> Notes: What 'transform: none' means in css2d transforms isn't
> clearly defined, for svg it would have to mean that the attribute is
> used, otherwise backwards compatibility is lost. Should there be an
> 'auto' initial value to deal with these cases?

Why would backwards-compatibility be lost in these cases?  I'd think
that even without changing 'none', things would be fine, since CSS
cascading says that any specified CSS overrides the SVG attribute,
but if there's no specified CSS, then the SVG attribute wins (just
like for other properties).

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 11 March 2010 22:24:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 11 March 2010 22:24:34 GMT