mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: Remove trailing underscore of float ident.
Bug: 1454528 Reviewed-by: heycam MozReview-Commit-ID: DN7rQu3adSB
This commit is contained in:
parent
1bc30a6732
commit
b11c3f1f45
1 changed files with 1 additions and 4 deletions
|
@ -300,10 +300,7 @@ class Longhand(object):
|
|||
return "<{} as ToAnimatedValue>::AnimatedValue".format(computed)
|
||||
|
||||
def nscsspropertyid(self):
|
||||
ident = self.ident
|
||||
if ident == "float":
|
||||
ident = "float_"
|
||||
return "nsCSSPropertyID::eCSSProperty_%s" % ident
|
||||
return "nsCSSPropertyID::eCSSProperty_%s" % self.ident
|
||||
|
||||
|
||||
class Shorthand(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue