aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/build_gecko.rs
diff options
context:
space:
mode:
authorBoris Chiou <boris.chiou@gmail.com>2017-04-24 13:22:25 +0800
committerBoris Chiou <boris.chiou@gmail.com>2017-04-26 21:35:05 +0800
commit02fc1789e8561dc9e9740a46e13ef8c9a360ee9c (patch)
tree192db897a1a5d0383a53239c71a3ca3d30aeded0 /components/style/build_gecko.rs
parente5762cb6953b5e202e8733e39e8267c4b67a9622 (diff)
downloadservo-02fc1789e8561dc9e9740a46e13ef8c9a360ee9c.tar.gz
servo-02fc1789e8561dc9e9740a46e13ef8c9a360ee9c.zip
Bug 1357357 - Make the parser of transition-property match the spec.
1. We add a new arm to TransitionProperty, TransitionProperty::Unsupported, which contains an Atom, so it's better to remove the Copy trait from TransitionProperty. 2. TransitionProperty::Unsupported(Atom) represents any non-animatable, custom, or unrecognized property, and we use Atom to store the ident string for serialization.
Diffstat (limited to 'components/style/build_gecko.rs')
-rw-r--r--components/style/build_gecko.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/style/build_gecko.rs b/components/style/build_gecko.rs
index 00aac6d8526..9d170e64105 100644
--- a/components/style/build_gecko.rs
+++ b/components/style/build_gecko.rs
@@ -659,6 +659,7 @@ mod bindings {
"StyleBasicShape",
"StyleBasicShapeType",
"StyleShapeSource",
+ "StyleTransition",
"nsCSSFontFaceRule",
"nsCSSKeyword",
"nsCSSPropertyID",