Closed dy closed 7 years ago
@dfcreative Wow cool! You did it. Simple string splitting, and slicing for a parser too. Should work nicely.
@mattdesl is there something making you doubt about it?
Hmm yes I've been wondering if string-based stuff is just totally out of scope of this module. I think it should probably be removed and moved into a new module.
Adding string-based stuff here will start to introduce yet more scope this module has to handle (e.g. comments). The behaviour might also be unexpected, since some users would expect it to auto-prefix, while others might expect it to set cssText
without any changes.
I think it's best just to maintain a small scope and revert the other changes... Sorry mate! 🍻
Hi @mattdesl! Here is per-property string handling, as discussed in #12. It should also take care of prefixing properties.