diff options
author | Boris Chiou <boris.chiou@gmail.com> | 2018-09-07 22:15:50 +0000 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-09-09 16:08:24 +0200 |
commit | 14911b96e08c663ad90cff2dd00082ff52417d6a (patch) | |
tree | d15460a2250a49a54dfac9c7074afae66f8a8a31 /components/style/stylesheet_set.rs | |
parent | 9c1c58a49873e6e9b015129527ee5b4d2e34e390 (diff) | |
download | servo-14911b96e08c663ad90cff2dd00082ff52417d6a.tar.gz servo-14911b96e08c663ad90cff2dd00082ff52417d6a.zip |
style: Make SVGPathData and clip-path: path() animatable.
Implement Animate trait for SVGPathData.
The basic idea is: we normalize |this| and |other| svg paths, and then
do interpolation on the normalized svg paths. The normalization is to
convert relative coordinates into absolute coordinates, so we could do
real number interpolation on each path command directly.
In this patch, we also make |clip-path:path()| animatable.
Differential Revision: https://phabricator.services.mozilla.com/D4786
Diffstat (limited to 'components/style/stylesheet_set.rs')
0 files changed, 0 insertions, 0 deletions