mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Make Servo's rounding of image-orientation values agree with Gecko's,
and pass orientations directly as an enum instead of as angles. Depends on a Gecko change to be subsequently landed in m-c.
This commit is contained in:
parent
5010df627d
commit
e554146e2a
4 changed files with 85 additions and 29 deletions
|
@ -895,7 +895,7 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetImageOrientation(aVisibility: *mut nsStyleVisibility,
|
||||
aRadians: f64, aFlip: bool);
|
||||
aOrientation: u8, aFlip: bool);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetImageOrientationAsFromImage(aVisibility:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue