diff --git a/components/style/font_face.rs b/components/style/font_face.rs index 62d8f6ade19..4a5f34237ad 100644 --- a/components/style/font_face.rs +++ b/components/style/font_face.rs @@ -26,11 +26,11 @@ impl ToCss for Source { fn to_css(&self, dest: &mut W) -> fmt::Result where W: fmt::Write { match *self { Source::Url(ref url) => { - try!(dest.write_str("local(\"")); + try!(dest.write_str("url(\"")); try!(url.to_css(dest)); }, Source::Local(ref family) => { - try!(dest.write_str("url(\"")); + try!(dest.write_str("local(\"")); try!(family.to_css(dest)); }, }