elchininet / postcss-rtlcss

PostCSS plugin to automatically build Cascading Style Sheets (CSS) with Left-To-Right (LTR) and Right-To-Left (RTL) rules using RTLCSS
https://elchininet.github.io/postcss-rtlcss/
Apache License 2.0
100 stars 15 forks source link

Make aliases affect both-prefixed and safe-prefixed declarations #296

Closed elchininet closed 4 months ago

elchininet commented 5 months ago

This pull request makes aliases being taken into account for both-prefixed and safe-prefixed declarations. In this way if a declaration needs to be moved to a prefixed rule with the bothPrefix, either because it can be overriden or because the safeBothPrefix rule is set, it will do the same with an alias of such a declaration.

coveralls commented 4 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling 3d65799b59ae7797b5816a930bac02031fc4c236 on make_aliases_affect_safe_prefixed_rules into 6f11e298978f6ed9fea5b32f9e3a8924c5e6ae3d on master.