mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Appease tidy.
This commit is contained in:
parent
9118dd838e
commit
658b8e3312
2 changed files with 4 additions and 4 deletions
|
@ -245,9 +245,8 @@ class Longhand(object):
|
|||
logical_side = s
|
||||
assert logical_side
|
||||
physical = PHYSICAL_SIDES if logical_side in LOGICAL_SIDES else PHYSICAL_SIZES
|
||||
return [self.name.replace(logical_side, physical_side).replace("inset-", "") \
|
||||
for physical_side in physical]
|
||||
|
||||
return [self.name.replace(logical_side, physical_side).replace("inset-", "")
|
||||
for physical_side in physical]
|
||||
|
||||
def experimental(self, product):
|
||||
if product == "gecko":
|
||||
|
|
|
@ -2004,7 +2004,8 @@ impl PropertyDeclaration {
|
|||
% if prop.logical:
|
||||
% for physical_property in prop.all_physical_mapped_properties():
|
||||
% if data.longhands_by_name[physical_property].specified_type() != prop.specified_type():
|
||||
<% raise "Logical property %s should share specified value with physical property %s" % (prop.name, physical_property) %>
|
||||
<% raise "Logical property %s should share specified value with physical property %s" % \
|
||||
(prop.name, physical_property) %>
|
||||
% endif
|
||||
% endfor
|
||||
% endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue