r/webdev • • Jan 18 '23

CSS flex for speed learners.

6.5k Upvotes

100 comments sorted by

View all comments

84

u/Voltra_Neo front-end Jan 18 '23

I wish space-evenly was supported everywhere

41

u/micalm <script>alert('ha!')</script> Jan 18 '23

Where it's not? caniuse shows full support everywhere (except the usual IE&Opera Mini).

28

u/Voltra_Neo front-end Jan 18 '23 edited Jan 20 '23

I'll check at work tomorrow, but there are sometimes differences between support tables and implementations (I've recently discovered few interesting bugs or non-implementations in Safari's implementation of SVG1.1, despite the tables saying they are)

EDIT: I'll be damned, space-evenly is finally supported on OSX & iOS Safari (wasn't 1-3 years back)

44

u/Makemeacyborg Jan 18 '23

Typical Safari

15

u/Voltra_Neo front-end Jan 18 '23

I was banging my head asking myself why on earth my dy wasn't working. I went to the SVG1.1 specs of textPath, copy pasted the example, it looked nothing like the expected result, I finally understood what the hell was going on

11

u/horses_arent_friends full-stack Jan 19 '23

On the bright side the folks at Open Web Advocacy have been making good headway with EU legislators and the DMA will be applicable starting in May.

Introducing third party browsers won’t be as meaningful as you’d hope (normal users won’t switch and there’s too many of them for companies to ignore/give them broken experiences) BUT the 10-20% fines based on worldwide gross revenue will be great incentive for Apple to stop intentionally understaffing the safari and webkit teams.

3

u/Suspicious-Engineer7 Jan 19 '23

Id rather apple just kill safari at this point. They dont care about web nearly as much as the app ecosystem.

3

u/Makemeacyborg Jan 19 '23

Cause they can’t gate keep the web and charge entrance like they do with their App Store. To me it has always felt like that’s the reason they went after flash too. Yeah Flash wasn’t great either so it made it an easy target

4

u/Candyvanmanstan Jan 19 '23

Safari is the modern IE, I swear.

1

u/lamintak Jan 20 '23

Did you get a chance to check on this? I'm curious if there's a bug with it that I don't know about.

3

u/Voltra_Neo front-end Jan 20 '23

Just did and edited my comment. It is finally supported on both OSX and iOS Safari. I checked between 1 and 3 years ago and it wasn't, and knowing IE and Safari, I didn't bother checking again.

SVGs are still broken tho