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
This commit is contained in:
Emilio Cobos Álvarez 2018-09-26 23:43:22 +02:00
parent b1cc6b4598
commit 2cf4e9998a
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

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