mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Don't serialize url() twice
This commit is contained in:
parent
de421216ad
commit
a407b589db
1 changed files with 0 additions and 4 deletions
|
@ -266,9 +266,7 @@ ${helpers.predefined_type("clip",
|
||||||
try!(dest.write_str(")"));
|
try!(dest.write_str(")"));
|
||||||
}
|
}
|
||||||
computed_value::Filter::Url(ref url) => {
|
computed_value::Filter::Url(ref url) => {
|
||||||
dest.write_str("url(")?;
|
|
||||||
url.to_css(dest)?;
|
url.to_css(dest)?;
|
||||||
dest.write_str(")")?;
|
|
||||||
}
|
}
|
||||||
% endif
|
% endif
|
||||||
}
|
}
|
||||||
|
@ -311,9 +309,7 @@ ${helpers.predefined_type("clip",
|
||||||
try!(dest.write_str(")"));
|
try!(dest.write_str(")"));
|
||||||
}
|
}
|
||||||
SpecifiedFilter::Url(ref url) => {
|
SpecifiedFilter::Url(ref url) => {
|
||||||
dest.write_str("url(")?;
|
|
||||||
url.to_css(dest)?;
|
url.to_css(dest)?;
|
||||||
dest.write_str(")")?;
|
|
||||||
}
|
}
|
||||||
% endif
|
% endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue