Hacker News new | ask | show | jobs
by paradite 3456 days ago
So everything is flexbox now? How about Safari compatibility then?
1 comments

Safari supports Flexbox without caveat in versions 9 and 10 (versions 6-8 have varying degrees of support for the first version of the flexbox spec). I work on a decently large global web property (~5m sessions/mo) and Safari < 9 is about 0.3% of our total traffic, so reduced compatibility there sounds OK to me.

Thankfully the bulk of Safari users (unlike IE users) update to newer versions pretty quickly when they're available.

I think you happen to not have encountered the bugs described here:

https://github.com/philipwalton/flexbugs/blob/master/README....

1. Minimum content sizing of flex items not honored (only fixed in Safari 10)

9. Some HTML elements can't be flex containers (not fixed)

11. Min and max size declarations are ignored when wrapping flex items (seems to be fixed only recently)

14. Flex containers with wrapping the container is not sized to contain its items (not fixed)