css_parser
css_parser copied to clipboard
Prevent border shorthand when individual property isnt shortened
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
- [ ] CHANGELOG.md updated with short summary