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

Re: CSS Animations Targeting SVG attributes

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 16 Mar 2011 09:17:00 +1300
Message-ID: <AANLkTik8p3OVRepSykMv1Vz208RN08oN+EmxsGyPFuX2@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Dean Jackson <dino@apple.com>, public-fx@w3.org
Thanks for doing that! A few corrections of the top of my head:

You seem to be missing x/y/width/height for 'rect'.
x/y for tref/tspan also apply to 'text'.
dx/dy for 'text' are actually a length-list.

A few observations:

width/height on foreignObject and rect should be uncontroversial to map to
CSS width/height.
It looks like the biggest problem with attribute name overloading is just
x/y for tref/tspan/text vs rect/foreignObject. That's encouraging.
It looks like very few of these map cleanly onto existing CSS properties.
There's 'transform', plus we could let x/y for rect and foreignObject map to
top/left maybe (that would deal with the overloading problem for those
attributes), and we could let rx/ry on rect map to border-radius maybe. I
don't see any other obvious mappings. That's less encouraging.

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Tuesday, 15 March 2011 20:17:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:38 UTC