Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

polyfill for CSS3 'calc()' under webkit?

Many of us have been thrilled with polyfills to make IE less of a drag. But my beef is with WebKit. What the hell, WebKit? You're so awesome at everything else; why did you have to go and not implement calc(), eh? ...but it's not a big deal if there's a polyfill.

Is there?

Google is uncharacteristically laconic on this point. So: 0 Hivemind, does such a thing exist?

like image 406
Undoware Avatar asked Oct 10 '22 00:10

Undoware


1 Answers

calc() support has landed in Chrome 19 with the -webkit- prefix! Not sure how long before version 19 gets pushed out to everyone, but it should be within the next few months. Since IE9+ and Firefox already have support, the last holdouts will be Safari and Opera. Fortunately I believe an updated Safari build is likely to be released with OS X Mountain Lion this summer. I'm not sure when Opera plans to add support.

like image 63
keithsuperk Avatar answered Oct 16 '22 18:10

keithsuperk