Max Carlson wrote:
The CSS3 draft allows a shadow to be defined with four parameters -
distanceX, distanceY, color and blur radius. Instead of specifying
the x and y offset separately, we thought it made more sense to
specify a distance and angle (in degrees).
I propose exposing these four properties as separate view attributes
(shadowdistance, shadowangle, shadowcolor and shadowblurradius) so
they can be animated.
An alternate approach is to expose them as a single compound attribute
like in CSS3, e.g. 'distance angle color blurradius'.
See http://www.w3.org/TR/css3-background/#the-box-shadow and
http://www.w3.org/TR/2003/CR-css3-text-20030514/#text-shadows for more
details.
What do folks think? I have a change ready to go in, but Tucker
reminded me I should solicit feedback first. Thanks!
I like the idea of having them as four animate-able attributes. I would
not like to do string manipulation, of say, the shadow of a box moving
farther away when it's "picked up" for a move.
2 cents
.james