gecko-dev/gfx/wr/wrench/examples/animated.yaml
Glenn Watson 14a75ee1b7 Bug 1525741 - Support animating yaml files in wrench. r=kvark
Add support for supplying a keyframe file to animate a wrench
yaml file with.

For now, the keyframe animation file must supply a keyframe for
every frame. In future, we may expand this to allow specifying
interpolation ranges.

For now, this is for development purposes only - however we can
easily extend this to support animated reftests in the future.

Differential Revision: https://phabricator.services.mozilla.com/D18884

--HG--
extra : moz-landing-system : lando
2019-02-07 18:03:59 +00:00

14 lines
269 B
YAML

---
root:
items:
- type: rect
bounds: key(rect.pos)
color: key(anim.color)
- type: box-shadow
bounds: [ 100, 300, 100, 100 ]
blur-radius: 3
border-radius: 10
color: blue
clip-mode: outset
offset: key(bs.offset)