Re: [css-transitions] Animation of paint servers
"L. David Baron" <[email protected]>
| Newsgroups | gmane.comp.web.svg,gmane.comp.web.css.general |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 2013-04-18 10:37 -0700, Tab Atkins Jr. wrote: > On Thu, Apr 18, 2013 at 10:32 AM, Dirk Schulze <[email protected]> wrote: > > Hi, > > > > CSS3 Transitions defines animations of paint servers [1]: > > > > "" > > • paint server (SVG): interpolation is only supported between: gradient to gradient and color to color. They then work as above. > > "" > > > > This seems to be incompatible with the current model of SVG resources and SVG animation. Currently elements themselves can have triggered animations. It is not possible in SVG at the moment to make a style change on one element affect the content (DOM or SVGDOM) of another one. From the author perspective it might seems quite plausible. However, it needs more discussion and specification work in the SVG WG and SVG specification. Since animations are from one url to another url, it is unclear how it could be specified at all and how the intermediate results affect the two resources. > > > > I would suggest that CSS Transitions treats paint server references the same as keywords. Note that paint servers are just <linearGradient>, <radialGradient>, <pattern> and possibly <color> elements. The animation of CSS colors on 'fill' and 'stroke' won't be affected and still work as described in the spec. > > > > The feature can be added to a future version of the spec when we outlined this concept. > > Given that you can't construct an intermediate value between two > references, I agree with this. They should fall into the generic > "image" bucket, which transitions with cross-fade() (this transition > behavior is defined in Images 4, not Transitions). > > When an SVG paint server is literally a color, not a referenced to a > <solidColor> element, it should transition as a color, though. This seems reasonable to me. Is it compatible with implementations? I believe the old wording dates back to the original Apple transitions proposal. -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla https://www.mozilla.org/ 𝄂 Before I built a wall I'd ask to know What I was walling in or walling out, And to whom I was like to give offense. - Robert Frost, Mending Wall (1914)
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVy8e6AAoJEO/hYSUPhPwh52AP/3xymIrL6yqlKm0mF5Aw/OUS A/LkVDlVt08P/LHhjoi0aZWypBegYfOXugF2TDP9FAQFNAw4EcAth/dCcOCIXhxP 8G3AyT82+exilU+ooHSDEQA7hYSK8pBIK9g2tcAfrMVKhK4SnnxvfZRNLLsryf7a AwlReVy+QV2ghT1fEVJqXo+OegkebnC8By46G+Jls9p5F94c3YZ4rXRfVpYOgEh8 OM6Z9U8nTG1mXadnFueJC6TT5eJdmGMe4Tz6Y22tJ2NTnyLJfoTMFlAotdzwxO5i FYcXLU+LtcYQ5oj6VGznoEsLowxqblonYyT/Z0l36syjMfJNuDFGJUJIRg0pvdMP 1LrFv9x+CUpNGa6oDkKvOh6L20jGBrM5Wy2LjOKbvO5CaNrtJo+lWIv85aQLpu9i Uon6HYtW7JpkeuHGIf8amlfppb9Ro/TK8J0C4+tF9lznJGMIeZwvZn19znobaX2i 4QSE4mHfngn3+Fk9NRFC2I66i1oR2WMWEIM2wTyN7oNE8icR1UYNzNLYaMn6QjOR BS+D4pn5hlGunW9ScLp/M6XztuloQbjmluHt7Fbp/cdvwv4mgy7BPZWm/EdyapPZ l1ASgfaVnbGpPDjQ/FTaPI//4ctCexCGTpNwies5eCfE6VgqdkxLGv4+fVxYEQN/ nLtbxyELrei/bn8QfEv4 =5IYi -----END PGP SIGNATURE-----