stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.9k stars 250 forks source link

Add vendor support for "calc" function #202

Open psirenny opened 11 years ago

psirenny commented 11 years ago

Add vendor support for calc() function. This can be tricky because there may be multiple instances of calc() attached to a property:

background-size calc(10% \- 10px) calc(20% \- 20px)

which should render as:

background-size: -webkit-calc(10% - 10px) -webkit-calc(20% - 20px);
background-size: -moz-calc(10% - 10px) -moz-calc(20% - 20px);
background-size: -o-calc(10% - 10px) -o-calc(20% - 20px);
background-size: calc(10% - 10px) calc(20% - 20px);
notslang commented 11 years ago

+1 - we really do need this

cyberglot commented 10 years ago

is it still an issue?

joekukish commented 10 years ago

Is this supported already?