3 ms·
Here’s an irritating bug that popped on Safari 10.1 (iOS 10.3) that strains the use of CSS variables: You can’t just use a variable to declare a box-shadow’s co
by dieulot 9y ago
Here’s an irritating bug that popped on Safari 10.1 (iOS 10.3) that strains the use of CSS variables: You can’t just use a variable to declare a box-shadow’s color opacity, you need an intermediate variable.
Demo: https://codepen.io/anon/pen/YxmQdj https://codepen.io/anon/pen/YxmQdj
Apple versus Google keeping devices up-to-date is a reversed problem on the web: iOS’s web browser updates only with new OS releases, and they don’t come to all devices. iPhones 5 (and iPads 4) will be stuck with that bug forever. On Android you can use Chrome’s latest version if you’re on ≥ 4.1 and Firefox’s if you’re on 4.0. 99% of Android users are.
Even if you’re very aggressive on focusing only on recent browsers for your website, you need to handle Safari bugs for years.
Safari is far from being as bad as IE ≤ 8, but it sure is the most annoying browser when you’re targeting only recent ones.