W3C home > Mailing lists > Public > www-svg@w3.org > 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).


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

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