Bug 1477883: Appease Servo's tidy lint. r=me

MozReview-Commit-ID: CqqndCexGKW
This commit is contained in:
Emilio Cobos Álvarez 2018-07-24 03:50:50 +02:00
Родитель d2466a05c8
Коммит 1a53242e60
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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