Grilled Cheese

ExploreLog inSign up

Jake Archibald

@jakearchibald.com

569 Following50.9k Followers

Developer of sorts at @webdevs.firefox.com, but this is my personal account. No thought goes unpublished. He/him.

PostsRepliesMedia
@jakearchibald.comJun 29, 2026, 2:24 PM Pinned

There's an ideal set of sizing constraints for custom <select>, but the CSS is a bit tricky.

Here's how to make it work, and a tour of new CSS features along the way.

jakearchibald.com/2026/goldilo...

jakearchibald.comThe Goldilocks customizable select heightThe 'ideal' sizing is more complicated than you think…
13
@jakearchibald.comDec 6, 2026, 6:41 AM

I've been enjoying this! cluesbysam.com is another good one.

cluesbysam.comClues by SamA daily logic puzzle where you deduce who is a criminal!
?Unknown authorDec 5, 2026, 4:04 PMReposted by @jakearchibald.com

Behind door 5 is… media pseudo-classes, which shipped in Firefox 150. Style a video while it's :playing, :paused, :muted, or :buffering, using only CSS. developer.mozilla.org/en-US/docs/W...

developer.mozilla.org:playing CSS pseudo-class - CSS | MDNThe :playing CSS pseudo-class selector represents the playback state of an element that is playable, such as <audio> or <video>, when that element is "playing". An element is considered to be playing…
@amitsheen.bsky.socialDec 5, 2026, 2:18 AMReposted by @jakearchibald.com

Two Rings

CSS only, using random(), sibling-*(),and some trig.

Live demo on @codepen.io: codepen.io/editor/amit_...

?Unknown authorDec 4, 2026, 8:13 PMReposted by @jakearchibald.com

At Mozilla we're prototyping Promises for document.parsed, document.contentLoaded and document.loaded. You can use these instead of the readystatechange event.

Head to `about:config`, toggle `dom.document.load_promises.enabled` to try it out. Also try the polyfill: github.com/keithamus/do...

A screenshot of the Firefox devtools console, it shows 3 statements: the first `document.parsed`, second `document.contentLoaded`, and third `document.loaded`, the inspector returns a Promise object for all three, with a <state> of "fulfilled" and a <value> of `undefined`.
@jakearchibald.comDec 4, 2026, 11:33 AM

This doesn't seem right to me. Check your DMs 😁

?Unknown authorSep 10, 2026, 1:22 PMReposted by @jakearchibald.com

When and how CSS custom property values are calculated might not be what you expect, and it has a big impact on your styles…

@jakearchibald.comDec 4, 2026, 8:52 AM

See for yourself jakearchibald.com/2026/jpeg-xl...

jakearchibald.comJPEG XL vs AVIF for web use-casesJPEG XL has landed, but how does it compare?
@jakearchibald.comDec 4, 2026, 8:32 AM

AVIF is crazy-good for non-photos, whereas all other lossy formats struggle. You can just use AVIF for everything on the web and it just works.

@jakearchibald.comDec 4, 2026, 12:41 AM

Memes: the alternative to a sense of humour

?Unknown authorDec 3, 2026, 4:05 PMReposted by @jakearchibald.com

Behind door 3 of our advent calendar is… the HTML Sanitizer API, which shipped in Firefox 148. `element.setHTML(untrustedString)` parses & inserts the HTML with XSS-dangerous content removed. developer.mozilla.org/en-US/docs/W...

developer.mozilla.orgHTML Sanitizer API - Web APIs | MDNThe HTML Sanitizer API allows developers to take strings of HTML and filter out unwanted elements, attributes, and other HTML entities when they are inserted into the DOM or a shadow DOM.
@jakearchibald.comDec 3, 2026, 11:35 PM

He's learned his lesson and he's very sorry.

A black cat sat on my desk looking at me
@tunetheweb.comDec 3, 2026, 9:29 PMReposted by @jakearchibald.com

It seems it is time for my annual rant about `font-display: swap` being one of the most evil things we've unleashed upon the platform. And that it shouldn't have been made the default in Google Fonts! If you're using it then well done you for gaming your perf metrics at the expense of your users. 😠

?Unknown authorDec 3, 2026, 11:05 AMReposted by @jakearchibald.com

Firefox Nightly is the first browser to score 100 on Interop 2026! wpt.fyi/interop-2026

Current interop scores for 2026 'experimental' browsers:

Chrome Canary, Edge Dev, and Safari Technology Preview are on 99.

Firefox Nightly is on 100.
4
?Unknown authorDec 3, 2026, 5:52 AMReposted by @jakearchibald.com

✊✊

sign posted on a door

REFUSE
to be stored in black sacks and placed in the containers provided
27
@chriscoyier.netDec 2, 2026, 10:20 PMReposted by @jakearchibald.com

Sir @joshwcomeau.com goes so hard with the `corner-shape: bevel;`. Nesting them is a very cool look.

www.joshwcomeau.com/css/bevel-co...

Futuristic looking control buttons using beveled corners. Kinda battlestar-galactica-paper looking.
4
?Unknown authorDec 2, 2026, 9:33 AMReposted by @jakearchibald.com

Now these are scores that all developers can be happy about. Interop 2027 close to perfect across the board.

A screenshot of WPT’s interop score page. Interop score is 99, investigations 36, chrome canary 99, edge dev 99, Firefox nightly 100, Safari technology preview 99
@jakearchibald.comDec 2, 2026, 4:03 PM

This is lovely to hear, and thank you so much for sending it. This stuff absolutely means a lot. I'm glad the content is landing well. I sometimes wish it was getting the 'thropic guy's numbers, but eh I'm having fun making the content, and Mozilla are happy for me to continue, so that's great.

@jakearchibald.comDec 2, 2026, 4:01 PM

I support you in this unfollow.

@open-web-advocacy.orgDec 2, 2026, 7:54 AMReposted by @jakearchibald.com

🚨 1,000 DAYS. STILL WAITING.

Apple was legally required to comply with the Digital Markets Act 1000 days ago.

Yet not a SINGLE browser vendor has been able to upgrade its existing EU users to its own browser engine.

Last Day to Sign the Open Letter!
open-web-advocacy.org/blog/1000-da...

1/14🧵

open-web-advocacy.org1,000 Days Past the DMA Deadline: Why Are We Still Waiting for Browser Competition? - Open Web AdvocacyApple was legally required to comply with the Digital Markets Act 1,000 days ago. Yet, nearly three years after that deadline, not a single browser vendor has…
@nn1.devDec 2, 2026, 7:52 AMReposted by @jakearchibald.com

We have really special guest speakers to kick off 2027: @jakearchibald.com and @ainsleydev.bsky.social . Grab your ticket now, as there are only 100 of them, and we'll see you all on Thursday 28 January.

nn1.dev/events/15/

#nn1dev #meetup

Photo, no description
Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST