From 1c8e6eb30c3f2f5bed1da67ced29d76aae50983a Mon Sep 17 00:00:00 2001 From: Jeremy Chen Date: Tue, 9 May 2017 08:17:52 +0000 Subject: [PATCH] stylo: Fix the serialization of image-orientation property. r=heycam Gecko bug: Bug 1363295 --- components/style/properties/longhand/inherited_box.mako.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/properties/longhand/inherited_box.mako.rs b/components/style/properties/longhand/inherited_box.mako.rs index e80cb074522..7c7cd67e8e9 100644 --- a/components/style/properties/longhand/inherited_box.mako.rs +++ b/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") }