@jaffathecake@mastodon.social
@jaffathecake@mastodon.social avatar

jaffathecake

@jaffathecake@mastodon.social

Engineer at Shopify. Once swam to the end of an infinity pool. No thought goes unpublished. 'IMO' implicit. He/him.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

jensimmons, to random
@jensimmons@front-end.social avatar

Have you made a site that uses View Transitions? Or a demo? Link? I’d love to see it.

jaffathecake,
@jaffathecake@mastodon.social avatar

@jensimmons the most complex one I've made on a 'real' site is probably wordle-analyzer.com https://twitter.com/jaffathecake/status/1630156449610362885?t=ap7-Ilg7HlKLu0GP0lUk5A&s=19

jaffathecake, to random
@jaffathecake@mastodon.social avatar

This is a great article. Go read it. https://front-end.social/@eeeps/111966691340411170

Casablanca, to random
@Casablanca@mastodon.cloud avatar

Today’s playlist

jaffathecake,
@jaffathecake@mastodon.social avatar
jaffathecake, to random
@jaffathecake@mastodon.social avatar

📝 New post: Handling aspect ratio changes in view transitions.

Lots of tips on customising view transitions, and of course, live demos.

https://jakearchibald.com/2024/view-transitions-handling-aspect-ratio-changes/

jaffathecake, to random
@jaffathecake@mastodon.social avatar

Rather than allow other browser engines to install-to-homescreen on iOS, Apple is removing the feature entirely in the EU.

Some features are tied to install-to-homescreen, such as push messages. Apple is unshipping those for EU users.

We need to act now: https://open-web-advocacy.org/apple-attempts-killing-webapps/

jaffathecake,
@jaffathecake@mastodon.social avatar

@spyke They had plenty of time. This is malicious compliance.

jaffathecake,
@jaffathecake@mastodon.social avatar

@bruno @spyke Indeed. It's even spelled out in internal emails https://mastodon.social/@owa/111957132131782727

jaffathecake, to random
@jaffathecake@mastodon.social avatar

Really sad that the Navigation API isn't being included in interop 2024. This API makes a night-and-day difference to handling navigations. It cannot be polyfilled, and cannot really be used as progressive enhancement. We need it yesterday. https://github.com/web-platform-tests/interop/issues/435#issuecomment-1921896911

View transitions isn't being included either, but I'm less sad about that, because it can be used as progressive enhancement. https://github.com/web-platform-tests/interop/issues/437#issuecomment-1921897450

jaffathecake,
@jaffathecake@mastodon.social avatar

@jpzwarte Most of it, unfortunately. Being able to observe entries, know when entries are discarded, being able to listen for all navigations reliably, being able to control the browser spinner etc etc etc

jaffathecake,
@jaffathecake@mastodon.social avatar

@tbroyer @jpzwarte a polyfill would need to be built on top of the history API, giving you what you can do with the history API, meaning you could just use the history API.

jaffathecake,
@jaffathecake@mastodon.social avatar

@passle @tbroyer @jpzwarte my gut feeling is that the polyfill would be lacking (similar to runtime CSS polyfills). But that's just a guess based on the history API vs the navigation API

jaffathecake, to random
@jaffathecake@mastodon.social avatar

This always catches me out:

When specifying grid-template sizes, if values aren't wrapped in minmax(), then they're implicitly minmax(auto, value).

So 1fr is implicitly minmax(auto, 1fr).

If you actually want 1fr, you need to use minmax(0, 1fr).

https://codepen.io/jaffathecake/pen/BabrWqa

jaffathecake,
@jaffathecake@mastodon.social avatar

@wortwart I don't think it's that straight forward.

It's weird to say that 1fr in grid-templates means minmax(auto, 1fr) by default, because then you have to carve out an exception to avoid recursion (which the spec does).

jaffathecake, to random
@jaffathecake@mastodon.social avatar

I was delighted to hear the EU managed to lift the browser ban on iOS, but Apple are trying to make it worthless https://open-web-advocacy.org/blog/developers-react-apple-eu-dma-compliance/

jpzwarte, to random
@jpzwarte@fosstodon.org avatar

@jaffathecake Just updated my Chrome Dev version to 123 and navigation is now broken on the OTMT site. Has an “Uncaught (in promise) DOMException: Invalid key” error in the console.

jaffathecake,
@jaffathecake@mastodon.social avatar

@jpzwarte Can you give me more details? Do you have any flags enabled? Which navigations are broken?

(I've tested on 123 and haven't been able to see the same issue)

thibaultmol, to random
@thibaultmol@en.osm.town avatar

@jaffathecake I know OTMT podcast is audio only. But any plans to put it on Youtube? (a friend of mine only consumes podcasts through youtube)

jaffathecake,
@jaffathecake@mastodon.social avatar

@thibaultmol ohhh, we'll look into it

jaffathecake, to random
@jaffathecake@mastodon.social avatar

Wait wait wait wait… AV1, the latest and greatest video format, adopted by browsers, does not support an alpha channel??

What???

jaffathecake,
@jaffathecake@mastodon.social avatar

@flaki Yeah, VP8 and VP9 do https://developer.chrome.com/blog/alpha-transparency-in-chrome-video

HEVC also does, but I only find Apple encoders that support it.

jaffathecake, to random
@jaffathecake@mastodon.social avatar

📴🧵 OMGOTMT it's a new episode of Off The Main Thread!

In this episode, @surma talks about Bevvy, an ECS game engine written in Rust, then we take a look at TC39 Stage 3 stuff that hasn't yet gone into browsers, and pick some favourites.

https://offthemainthread.tech/episode/tc39-roundup-and-ecs/

jaffathecake, to random
@jaffathecake@mastodon.social avatar

Pitched an idea (based on shadow realms) for making it easier to get data in and out of workers https://github.com/whatwg/html/issues/10078

jaffathecake, to random
@jaffathecake@mastodon.social avatar

Yay! React 19 will have custom element support! https://github.com/facebook/react/issues/11347#issuecomment-1899140345

jaffathecake,
@jaffathecake@mastodon.social avatar
jaffathecake, to random
@jaffathecake@mastodon.social avatar

This resonates. Due to changes at the top, Google became a place where you succeeded not by doing the right thing, but by being a business wanker.

https://www.tbray.org/ongoing/When/202x/2024/01/15/Google-2024

jaffathecake, to random
@jaffathecake@mastodon.social avatar

Setting up home audio stuff. It still blows my mind that Google abandoned Chromecast Audio. Didn't even give the home mini an audio out. Madness.

jaffathecake,
@jaffathecake@mastodon.social avatar

@GuillaumeRossolini I've got three Chromecast audios which I'll continue to use, but I get the feeling they'll pull support at some point

jaffathecake,
@jaffathecake@mastodon.social avatar

@GuillaumeRossolini I don't know

  • All
  • Subscribed
  • Moderated
  • Favorites
  • HellsKitchen
  • rosin
  • everett
  • Youngstown
  • InstantRegret
  • Durango
  • slotface
  • thenastyranch
  • mdbf
  • kavyap
  • DreamBathrooms
  • khanakhh
  • rhentai
  • magazineikmin
  • bokunoheroacademia
  • osvaldo12
  • cisconetworking
  • tester
  • normalnudes
  • GTA5RPClips
  • ethstaker
  • modclub
  • tacticalgear
  • lostlight
  • relationshipadvice
  • cubers
  • Leos
  • sketchdaily
  • All magazines