From 2cf4e9998a98e2452399979a12a3499d65dc28a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 26 Sep 2018 23:43:22 +0200 Subject: [PATCH] style: Serialize -moz-image-region and clip with Servo. This changes the serialization of -moz-image-region to be consistent with that of clip(), but it's an internal property and the specified value is already serialized by Servo so I think it's the right thing to do. There are also no internal callers of the getter. Differential Revision: https://phabricator.services.mozilla.com/D7069 --- components/style/properties/gecko.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index 2275316bf72..65ed6c4ed83 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -4447,7 +4447,7 @@ fn static_assert() { Some(Au(self.gecko.mClip.x + self.gecko.mClip.width).into()) }; - Either::First(ClipRect { top: top, right: right, bottom: bottom, left: left, }) + Either::First(ClipRect { top, right, bottom, left }) } }