mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #15949 - upsuper:filter-url, r=heycam
Don't serialize url() twice <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15949) <!-- Reviewable:end -->
This commit is contained in:
commit
6a2a5be764
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