premailer / css_parser

Ruby CSS Parser
Other
279 stars 110 forks source link

Prevent border shorthand when individual property isnt shortened #124

Open kalilz4485 opened 3 years ago

kalilz4485 commented 3 years ago

Issue https://github.com/premailer/css_parser/issues/87

Checks if any border-side declaration is present, as it should have been removed by create_dimensions_shorthand! , if there is still one left it means it's not shortable and we shouldn't replace any border-width/style/color property with a border property that would erase it.

Open for suggestions/corrections

Pre-Merge Checklist