From a407b589db1dbbd771e3858596267f8534aeedc7 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Wed, 15 Mar 2017 15:30:08 +1100 Subject: [PATCH] Don't serialize url() twice --- components/style/properties/longhand/effects.mako.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/style/properties/longhand/effects.mako.rs b/components/style/properties/longhand/effects.mako.rs index cd7b61128d0..dd147481b1d 100644 --- a/components/style/properties/longhand/effects.mako.rs +++ b/components/style/properties/longhand/effects.mako.rs @@ -266,9 +266,7 @@ ${helpers.predefined_type("clip", try!(dest.write_str(")")); } computed_value::Filter::Url(ref url) => { - dest.write_str("url(")?; url.to_css(dest)?; - dest.write_str(")")?; } % endif } @@ -311,9 +309,7 @@ ${helpers.predefined_type("clip", try!(dest.write_str(")")); } SpecifiedFilter::Url(ref url) => { - dest.write_str("url(")?; url.to_css(dest)?; - dest.write_str(")")?; } % endif }