postcss/postcss-js

float -> cssFloat

stevenvachon opened this issue · 4 comments

I just updated camelcase-css to transform float to cssFloat. Could this cause an issue with this library?

I've created facebook/react#6133 too.

ai commented

Yeap, we can add special case.

But what is a reason of cssFloat?

What issue does it cause?

I added it because the purpose of the library is to convert dash-separated names to camel case for the purpose of CSS, which includes "gotchas".

Ah, I see. I didn't think about "stringifying".