Auto merge of #19576 - canaltinova:text-align, r=Manishearth,emilio

style: Move text-align outside of the mako file.

I will need this refactoring before my next job. I didn't actually fix the FIXME's along the way. My other PR probably will cover these.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- 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/19576)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-12-18 12:12:52 -06:00 committed by GitHub
commit a9c17970c1
8 changed files with 205 additions and 165 deletions

View file

@ -20,9 +20,10 @@ pub fn derive(input: DeriveInput) -> Tokens {
);
let identifier = cg::to_css_identifier(variant.ident.as_ref());
let ident = &variant.ident;
match_body = quote! {
#match_body
#identifier => Ok(#name::#variant),
#identifier => Ok(#name::#ident),
}
});