From 658b8e331256ef7d488f8aa2873a805ebc1e9755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 24 Jul 2018 03:50:50 +0200 Subject: [PATCH] style: Appease tidy. --- components/style/properties/data.py | 5 ++--- components/style/properties/properties.mako.rs | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/style/properties/data.py b/components/style/properties/data.py index 007a659dca1..ca05309b4b6 100644 --- a/components/style/properties/data.py +++ b/components/style/properties/data.py @@ -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": diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index c67d26a4cda..ad184cd0fcf 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -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