Grilled Cheese

ExploreLog inSign up

MDN Web Docs

@

5 Following3.3k Followers

The official MDN Web Docs account, now on Bluesky. We deliver the best web docs around.

Visit → https://mdn.dev
Contribute → https://mdn.dev/community

PostsRepliesMedia
?Unknown authorDec 4, 2026, 4:05 PMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

Behind door 4 of our advent calendar is… CSS shape(), which shipped in Firefox 148. Draw clip-path shapes using path-style commands with real CSS units like % and calc(). developer.mozilla.org/en-US/docs/W...

developer.mozilla.orgshape() CSS function - CSS | MDNThe shape() CSS function is used to define a shape for the border-shape, clip-path, and offset-path properties. It combines an initial starting point with a series of shape commands that define the…
?Unknown authorDec 3, 2026, 4:05 PMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

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.
?Unknown authorDec 2, 2026, 4:04 PMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

Behind door 2 is… the Navigation API, which shipped in Firefox 147. Intercept, handle, and inspect navigations, without the hacks you needed to make `history.pushState()` work. developer.mozilla.org/en-US/docs/W...

developer.mozilla.orgNavigation API - Web APIs | MDNThe Navigation API provides the ability to initiate, intercept, and manage browser navigation actions. It can also examine an application's history entries. This is a successor to previous web…
?Unknown authorDec 1, 2026, 4:03 PMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

From now until the 25th, we're going to highlight a web platform feature that shipped in Firefox in 2026!

Behind door 1 is… CSS anchor positioning, which shipped in Firefox 147. Tether tooltips, menus, and popovers to another element using only CSS. developer.mozilla.org/en-US/docs/W...

developer.mozilla.orgCSS anchor positioning - CSS | MDNThe CSS anchor positioning module defines features that allow you to tether elements together. Certain elements are defined as anchor elements; anchor-positioned elements can then have their size and…
?Unknown authorNov 30, 2026, 3:31 PMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

Custom compression dictionaries landed in Firefox 161, letting you massively reduce the size of bundle updates. Here's how they work:

@Nov 10, 2026, 7:41 PM

Thanks, @developer.chrome.com! We’re excited to help shape Modern Web Guidance and make sure it works across every browser 🙌

?Unknown authorNov 3, 2026, 2:20 PMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

Scoped custom element registries are newly available in all major engines, meaning multiple implementations can use the same tag name without clashing. Here's how they work:

?Unknown authorOct 28, 2026, 2:53 PMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

Scroll-driven animations are newly available in all major engines! Here's how they work:

9
?Unknown authorOct 26, 2026, 2:16 PMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

JPEG XL is newly available in all major engines, but how does it stack up against other formats?

?Unknown authorOct 19, 2026, 1:15 PMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

What should we ship in 2027? Rank your favourite features & create your wishlist: interop-rank.fxdx.dev

@web-standards.devOct 19, 2026, 10:00 AMReposted by @01a0efd4-7eab-76e7-9e83-0c672271e001

JPEG XL vs AVIF for web use-cases. Jake Archibald benchmarked both: AVIF produces smaller lossy files for photos, screenshots, and transparency, while JPEG XL wins at lossless. His default is AVIF 4:4:4 at high effort. #image #performance

jakearchibald.com/20...

Title “JPEG XL vs AVIF” over a grid of six images: a red panda, a racing car, a cartoon cat, a neon “Senna” sign with cats, people holding phones, and a weasel.
@Apr 27, 2026, 7:00 AM

Support dark mode with one CSS property 🌙

color-scheme tells the browser your page supports light, dark, or both. Form controls, scrollbars, and system colors adapt automatically.

> :root { color-scheme: light dark; }

Learn more 👇
developer.mozilla.org/en-US/docs/...

@Mar 24, 2026, 9:00 PM

Hold object references without preventing garbage collection 🗑️

`WeakRef` lets you reference an object while allowing it to be GC’d if nothing else holds a strong reference. Use for caches, and pair with FinalizationRegistry.

Learn more 👇
developer.mozilla.org/en-US/docs/...

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