Make AnimationValue have the same variants as PropertyDeclaration

By making AnimationValue have the same representation as PropertyDeclaration
and Void variants for non-animatable properties, we know by constructions
that all properties have the same discriminant in both.
This commit is contained in:
Anthony Ramine 2018-02-09 22:34:59 +01:00
parent 6b1a74672d
commit 79775541f2
7 changed files with 58 additions and 35 deletions

View file

@ -26,3 +26,4 @@ string_cache = { version = "0.7", optional = true }
url = { version = "1.2", optional = true }
webrender_api = { git = "https://github.com/servo/webrender", features = ["ipc"], optional = true }
xml5ever = { version = "0.12", optional = true }
void = "1.0.2"