Hacker News new | past | comments | ask | show | jobs | submit login

Is calc() performant in modern browsers (IE10, Chrome, Firefox)? I got scared off of it a few years ago when it was first announced because I read that the performance hit was very noticeable...



There's no perf hit. You're fine. (IE Expressions however, had a big perf hit)


https://developer.mozilla.org/en-US/docs/CSS/calc#Browser_co...

Looks like calc is supported in Chrome 19+, Firefox 16+, IE9+, Safari 6+.


He/she was asking if it performs well, not if it is supported.


One could argue that where a feature is not supported, it's going to perform terribly, perhaps taking O(∞).


But it won't lock up the user's browser in that time, which is helpful.


Not in Chrome for Android though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: