servo: Merge #15172 - Add space before keyword for border-image-slice (from upsuper:border-image-slice); r=Wafflespeanut
authorXidorn Quan <me@upsuper.org>
Thu, 26 Jan 2017 10:48:22 -0800
changeset 340722 1faaf10cfea191bfd38f6ab8b419af6700b98480
parent 340721 e124867d362cbdbc1a6151819545218da83657e3
child 340723 05321bfcf7b81d7399d224779b93a2657600b4b9
push id86548
push userkwierso@gmail.com
push dateSat, 04 Feb 2017 01:35:21 +0000
treeherdermozilla-inbound@e7b96d015d03 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWafflespeanut
servo: Merge #15172 - Add space before keyword for border-image-slice (from upsuper:border-image-slice); r=Wafflespeanut Source-Repo: https://github.com/servo/servo Source-Revision: 9c5abebd470cc0fe4af27929c2bd8a737d351e3f
servo/components/style/properties/longhand/border.mako.rs
--- a/servo/components/style/properties/longhand/border.mako.rs
+++ b/servo/components/style/properties/longhand/border.mako.rs
@@ -593,31 +593,31 @@
             try!(dest.write_str(" "));
             try!(self.corners[1].to_css(dest));
             try!(dest.write_str(" "));
             try!(self.corners[2].to_css(dest));
             try!(dest.write_str(" "));
             try!(self.corners[3].to_css(dest));
 
             if self.fill {
-                try!(dest.write_str("fill"));
+                try!(dest.write_str(" fill"));
             }
             Ok(())
         }
     }
     impl ToCss for SpecifiedValue {
         fn to_css<W>(&self, dest: &mut W) -> fmt::Result where W: fmt::Write {
             try!(self.corners[0].to_css(dest));
             for value in self.corners.iter().skip(1) {
                 try!(dest.write_str(" "));
                 try!(value.to_css(dest));
             }
 
             if self.fill {
-                try!(dest.write_str("fill"));
+                try!(dest.write_str(" fill"));
             }
             Ok(())
         }
     }
 
     #[derive(Debug, Clone, PartialEq)]
     #[cfg_attr(feature = "servo", derive(HeapSizeOf))]
     pub enum PercentageOrNumber {