Skip to content
Permalink
Browse files

stylo: Fix the serialization of image-orientation property. r=heycam

Gecko bug: Bug 1363295
  • Loading branch information...
chenpighead committed May 9, 2017
1 parent 121662a commit 1c8e6eb30c3f2f5bed1da67ced29d76aae50983a
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/style/properties/longhand/inherited_box.mako.rs
@@ -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")
}

0 comments on commit 1c8e6eb

Please sign in to comment.
You can’t perform that action at this time.