Re: CSS Animations Targeting SVG attributes

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