mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
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:
parent
b1cc6b4598
commit
2cf4e9998a
1 changed files with 1 additions and 1 deletions
|
@ -4447,7 +4447,7 @@ fn static_assert() {
|
||||||
Some(Au(self.gecko.mClip.x + self.gecko.mClip.width).into())
|
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 })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue