mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use 2018-style paths in code generated by Mako
This commit is contained in:
parent
ede79a6a5d
commit
e1fcffb336
26 changed files with 598 additions and 597 deletions
|
@ -270,12 +270,12 @@ class Longhand(object):
|
|||
|
||||
def base_type(self):
|
||||
if self.predefined_type and not self.is_vector:
|
||||
return "::values::specified::{}".format(self.predefined_type)
|
||||
return "crate::values::specified::{}".format(self.predefined_type)
|
||||
return "longhands::{}::SpecifiedValue".format(self.ident)
|
||||
|
||||
def specified_type(self):
|
||||
if self.predefined_type and not self.is_vector:
|
||||
ty = "::values::specified::{}".format(self.predefined_type)
|
||||
ty = "crate::values::specified::{}".format(self.predefined_type)
|
||||
else:
|
||||
ty = "longhands::{}::SpecifiedValue".format(self.ident)
|
||||
if self.boxed:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue