diff --git a/components/style/properties/data.py b/components/style/properties/data.py index 0ac42b365ee..fca4b536e01 100644 --- a/components/style/properties/data.py +++ b/components/style/properties/data.py @@ -226,6 +226,10 @@ class Longhand(object): # See compute_damage for the various values this can take self.servo_restyle_damage = servo_restyle_damage + @staticmethod + def type(): + return "longhand" + def experimental(self, product): if product == "gecko": return bool(self.gecko_pref) @@ -361,6 +365,10 @@ class Shorthand(object): animatable = property(get_animatable) transitionable = property(get_transitionable) + @staticmethod + def type(): + return "shorthand" + def experimental(self, product): if product == "gecko": return bool(self.gecko_pref) @@ -392,6 +400,10 @@ class Alias(object): self.allowed_in_page_rule = original.allowed_in_page_rule self.allowed_in_keyframe_block = original.allowed_in_keyframe_block + @staticmethod + def type(): + return "alias" + def experimental(self, product): if product == "gecko": return bool(self.gecko_pref)