mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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)
|
return "<{} as ToAnimatedValue>::AnimatedValue".format(computed)
|
||||||
|
|
||||||
def nscsspropertyid(self):
|
def nscsspropertyid(self):
|
||||||
ident = self.ident
|
return "nsCSSPropertyID::eCSSProperty_%s" % self.ident
|
||||||
if ident == "float":
|
|
||||||
ident = "float_"
|
|
||||||
return "nsCSSPropertyID::eCSSProperty_%s" % ident
|
|
||||||
|
|
||||||
|
|
||||||
class Shorthand(object):
|
class Shorthand(object):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue