aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/properties/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/properties/data.py')
-rw-r--r--components/style/properties/data.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/style/properties/data.py b/components/style/properties/data.py
index 938b2c2c2bf..3ca9d347157 100644
--- a/components/style/properties/data.py
+++ b/components/style/properties/data.py
@@ -385,6 +385,7 @@ class Alias(object):
self.name = name
self.ident = to_rust_ident(name)
self.camel_case = to_camel_case(self.ident)
+ self.original = original
self.enabled_in = original.enabled_in
self.servo_pref = original.servo_pref
self.gecko_pref = gecko_pref
@@ -406,7 +407,7 @@ class Alias(object):
return self.enabled_in == "content"
def nscsspropertyid(self):
- return "nsCSSPropertyID::eCSSPropertyAlias_%s" % self.camel_case
+ return "nsCSSPropertyID::eCSSPropertyAlias_%s" % self.ident
class Method(object):