aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/stylesheet_set.rs
diff options
context:
space:
mode:
authorBoris Chiou <boris.chiou@gmail.com>2018-09-07 22:15:50 +0000
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-09-09 16:08:24 +0200
commit14911b96e08c663ad90cff2dd00082ff52417d6a (patch)
treed15460a2250a49a54dfac9c7074afae66f8a8a31 /components/style/stylesheet_set.rs
parent9c1c58a49873e6e9b015129527ee5b4d2e34e390 (diff)
downloadservo-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