mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
stylo: Fix the serialization of image-orientation property. r=heycam
Gecko bug: Bug 1363295
This commit is contained in:
parent
121662aa57
commit
1c8e6eb30c
1 changed files with 2 additions and 2 deletions
|
@ -87,13 +87,13 @@ ${helpers.single_keyword("image-rendering",
|
|||
if let Some(angle) = self.angle {
|
||||
try!(angle.to_css(dest));
|
||||
if self.flipped {
|
||||
dest.write_str(" flipped")
|
||||
dest.write_str(" flip")
|
||||
} else {
|
||||
Ok(())
|
||||
}
|
||||
} else {
|
||||
if self.flipped {
|
||||
dest.write_str("flipped")
|
||||
dest.write_str("flip")
|
||||
} else {
|
||||
dest.write_str("from-image")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue