Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use whitespace to separate params of drop-shadow #15212

Merged
merged 1 commit into from Jan 26, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Use whitespace to separate params of drop-shadow

  • Loading branch information
upsuper committed Jan 25, 2017
commit 0a027c414fb5265afddd0ae51113ffdd46190c53
@@ -458,11 +458,11 @@ ${helpers.predefined_type("opacity",
computed_value::Filter::DropShadow(shadow) => {
try!(dest.write_str("drop-shadow("));
try!(shadow.offset_x.to_css(dest));
try!(dest.write_str(", "));
try!(dest.write_str(" "));
try!(shadow.offset_y.to_css(dest));
try!(dest.write_str(", "));
try!(dest.write_str(" "));
try!(shadow.blur_radius.to_css(dest));
try!(dest.write_str(", "));
try!(dest.write_str(" "));
try!(shadow.color.to_css(dest));
try!(dest.write_str(")"));
}
@@ -496,12 +496,12 @@ ${helpers.predefined_type("opacity",
SpecifiedFilter::DropShadow(ref shadow) => {
try!(dest.write_str("drop-shadow("));
try!(shadow.offset_x.to_css(dest));
try!(dest.write_str(", "));
try!(dest.write_str(" "));
try!(shadow.offset_y.to_css(dest));
try!(dest.write_str(", "));
try!(dest.write_str(" "));
try!(shadow.blur_radius.to_css(dest));
if let Some(ref color) = shadow.color {
try!(dest.write_str(", "));
try!(dest.write_str(" "));
try!(color.to_css(dest));
}
try!(dest.write_str(")"));
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.