Premailer inline css ordering is different across machines
cpoo22 opened this issue · comments
When upgrading from 1.9.2 to 1.10.2 the order of the inlined styles changed on different machines.
For a regression spec that creates an email and then checks the HTML part on my local (MAC) I have
<td class="font-light font-12 footer" bgcolor="#262626" style="color: #FFFFFF; padding: 20px 30px; font-family: museo-sans-rounded, helvetica, arial; font-size: 12px; line-height: 1.67; border-top-width: 7px; border-top-color: #6F58A2; border-top-style: solid; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
But when the spec is run on semaphore I get a failure with
<td class="font-light font-12 footer" bgcolor="#262626" style="color: #FFFFFF; font-family: museo-sans-rounded, helvetica, arial; font-size: 12px; line-height: 1.67; border-top-width: 7px; border-top-color: #6F58A2; border-top-style: solid; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; mso-table-lspace: 0pt; mso-table-rspace: 0pt; padding: 20px 30px;">
You can see that the padding has moved to the end.
This is out of premailer-rails' control. Was premailer also updated? Please file it over at premailer. Thanks 😊
Thanks. I will/did premailer/premailer#361 :D