mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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(")"));
|
||||
}
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue