3 ms·
> I also happen to know that calc() doesn't work on Safari 6.x, among others. Works fine on Safari 6.x, you just need to add the prefix -webkit. http://canius
by Samuel_Michon 13y ago
> I also happen to know that calc() doesn't work on Safari 6.x, among others.
Works fine on Safari 6.x, you just need to add the prefix -webkit.
http://caniuse.com/#feat=calc http://caniuse.com/#feat=calc
- DougWebb 13y agoAh, good catch. It's 5.1 that doesn't support it at all. I was working on a new feature last week, and it looked great on Firefox and Chrome (my main dev browsers), but both my boss and UX designer use Macbooks so when I asked them to check it out they both said it's broken. It was because I was working quickly and didn't put in all of the backward compatibility hacks yet. So, my memory was a bit fuzzy about which versions supported what, exactly.