Closed TheBosZ closed 5 years ago
Using the prefix addon with "user-select" generates invalid CSS.
It's because the kebab method doesn't properly handle the result from inline-style-prefixer.
inline-style-prefixer
Here's the result from running prefixer: https://runkit.com/embed/68hf1a20xhsd
{ "WebkitUserSelect" : "none", "MozUserSelect" : "none", "msUserSelect" : "none", "userSelect" : "none" }
Note that the ms version has a lower-case m. That makes the kebab return 'ms-user-select' instead of the proper '-ms-user-select'.
m
:tada: This issue has been resolved in version 3.3.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Using the prefix addon with "user-select" generates invalid CSS.
It's because the kebab method doesn't properly handle the result from
inline-style-prefixer
.Here's the result from running prefixer: https://runkit.com/embed/68hf1a20xhsd
Note that the ms version has a lower-case
m
. That makes the kebab return 'ms-user-select' instead of the proper '-ms-user-select'.