mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #20657 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central. See each individual commit from details.
This commit is contained in:
commit
087bd20b6d
14 changed files with 329 additions and 98 deletions
|
@ -311,10 +311,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