Not only Safari is unable to show basic elements (less than Gnome Web which is Webkit based too), there’s no single proper tool to export the fricking SVG to GIF. I’ve never wanted to flip a table that much in my life.

Spent hours tracking down a test failure process and introduced a new bug in the process.

Safari was also late to implement AV1 video support. Based on caniuse website, only MS Edge was later, though you could install an extension to get it running.

Oh, and when I say “support”, I mean you’d have to buy a new device.

Supported only on devices with hardware decoder, e.g. iPhone 15 Pro, M3 MacBook Pro, etc.

Edit: Chrome since v. 70 (2018-10-16), Firefox fully since v. 67 (2019-05-21), Firefox partially since v. 55 (2017-08-08) whatever “Not supported by default, but can be enabled” means, Safari since v. 17 on newer devices (2023-09-26)

https://caniuse.com/av1

Apple was very late to add AV1 support to their ecosystem in general. As you state, support for hardware decoding was only added with the M3/A17 Pro chips in 2023. There’s still no AV1 hardware encoder on any of Apple’s chips.

I think they were waiting on H.266 and whether it succeeds for too long, they were/are big on H.265 (and all the other HEVC-related stuff like HEIC) so that’d make sense from that perspective.

It’s all got to do with licences and patents, and which companies backed which standards.

@LiamTheBox@lemmy.ml
link
fedilink
English
21M

How many trillions apple has again???

“Not supported by default, but can be enabled”

If its about Firefox, it means you can go to the dusty basement breakerbox that’s about:config and turn it on yourself.

Meanwhile it’s been like 10–2 yrs and Firefox still hasn’t got a month picker. It’s so weird sometimes.

@Rin@lemm.ee
link
fedilink
81M

Works on FF android.

Tested with: https://inputtypes.com/

@sfxrlz@lemmy.world
link
fedilink
2
edit-2
1M

Ja ff android bro …

@Rin@lemm.ee
link
fedilink
11M

Works on desktop too

@sfxrlz@lemmy.world
link
fedilink
3
edit-2
1M

Which Firefox desktop version are you using then ? Because in nightly, it does not work.

And mdn says no aswell

Edit: And the ticket is still open

@Rin@lemm.ee
link
fedilink
325d

Huh… i used specifically the Date chooser and it came out with a box. I’m sorry for misunderstanding

You’re good I was just confused at first

Cousin Mose
link
fedilink
8
edit-2
1M

Can we talk about why the hell the date-time picker is not in UTC or ISO8601 by the way?? Am I the only one hacking the format to inject the time zone so the server has some type of fucking clue as to what it is? Even then you’re still screwed because DST may have changed between the current date and/or time and the one selected.

@bleistift2@sopuli.xyz
link
fedilink
English
41M

Temporal is coming.

what do you mean by month picker? Like, you want a dialog specifically for picking a month and nothing else?

because there’s a perfectly fine date picker, including month selection

@bleistift2@sopuli.xyz
link
fedilink
English
31M

Well, that ‘perfectly fine’ date picker has some usability issues, like being way too small to enter dates comfortably, and missing features like the inability to highlight dates, and you can even enter invalid dates like September 31.

Yeah, we needed it at work. And it should only display months

I don’t know what works on Safari as I haven’t even tried to design for it since before flash died. Have you tried JS libraries like GSAP?

https://gsap.com/svg/

Use lottiefiles or something similar. That seems the defacto standard for vector animations on mobile and the web.

In my experience inkscape does a great job importing custom svg’s. From there you can export them in other formats

Xavienth
link
fedilink
21M

When i used inkscape to export an SVG it kept adding a very faint white outline and I couldn’t figure out why.

@MoonMelon@lemmy.ml
link
fedilink
English
21M

That sounds like a “premultiplied alpha” issue. Although I’m not familiar with this specific workflow, I always suspect premultiplied alpha issues when there’s a halo like that. If there’s an option try toggling it.

Oh, that’s not great. I’m sorry, I cannot tell you either

I ended up making a script to convert them properly, from things I found on the web here and there.

https://github.com/pixelfed-glitch/brand-assets/blob/main/svgtogif.js

For resizing GIFs, I recommend imagemagick CLI tool though.

@bricked@feddit.org
link
fedilink
Deutsch
231M

I heard that SVGs in <img> tags are more restricted than ones in <object> or plain <svg> tags. Try using these instead.

So what? Fuck Safari. Hardly anyone uses it anyway.

Presi300
link
fedilink
English
3
edit-2
1M

Just log the user agent and if it comes up as safari, redirect people to the Firefox download page :)

Assuming you haven’t tried it, what about an online converter to APNG? Those look like they are almost fully supported by every major browser (and have transparency!)

As for the online converter part, it might end up looking terrible but it’s a place to start I guess

data1701d (He/Him)
link
fedilink
English
11M

Apple should experience bij.

Well yeah, you didn’t withhold money from them. If you’re going to throw money at them for removing features every new release, why the hell would they update their browser?

Kairos
link
fedilink
41M

? Does OP have a Mac?

¿¡ could be !?

Kairos
link
fedilink
31M

OP referenced GNOME browser. I suspect they looked up compatibility.

Ah okay. I think my accusatory point still stands, albeit with the “you” now generalised as “you all”. I’m good at making friends.

@bleistift2@sopuli.xyz
link
fedilink
English
81M

Not really, I just forget about it everytime I come back lol

pewpew
link
fedilink
225d

Easy, just record the screen as a gif with Peek

Please read other comments before replying.

pewpew
link
fedilink
225d

Forgot to put /s, it wasn’t intended to be taken seriously. My bad

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 22 users / day
  • 120 users / week
  • 456 users / month
  • 2.2K users / 6 months
  • 1 subscriber
  • 1.69K Posts
  • 37.2K Comments
  • Modlog