Skip to content
ClearedGet the next issue

A monthly letter about HTML and CSSNext issue · Monday, December 7

Cleared to use. Cleared to delete.

The web platform grows. Your codebase doesn’t have to.

Every month I check what changed in HTML and CSS, browser by browser: which new arrivals are cleared to use, and which fallbacks you can finally clear out. I keep the few that actually matter, and give each one a verdict: Cleared, Hold, or Skip. I publish the result in one email you can read in five minutes.

Or just read this month’s issue below

The difference

Baseline tells you a feature shipped. It doesn’t tell you whether to bother.

webstatus.dev (opens in a new tab) will tell you that the lh unit passed 30 months of browser support in May. It won’t tell you that Safari still resolves 1lh against the wrong value whenever the line-height is inherited, which is how line-height usually arrives. Nothing errors: the box just comes out the wrong height! So lh is a Hold, 30 months or not, and the issue says the magic number stays. Google’s team publishes the date. It doesn’t publish the verdict. But I can…

  • Cleared

    Use it now. Once it is safe everywhere, the fallback goes.

  • Hold

    Real, but not yet, and here is the specific reason.

  • Skip

    Works fine. Not worth your afternoon.

How a verdict gets made

Issue 10

Cleared 10 · October 2026 · Cleared to use. Cleared to delete. Five minutes.

Delete your scroll-animation script

Published November 9, 2026 · covers October 2026 · 2 Cleared·1 Hold

October was a thin month. Firefox 159 made three features newly available on the 27th, and a few more cleared earlier in the month. The headline is scroll-driven animations: its score in Firefox is low, but the CSS works there as well as it does in Chrome and Safari. The other deletion is align-content on an ordinary block, which retires the flex container you set up only to center something vertically.

01Cleared

Scroll-driven animations

New this month, October 27, 2026

A CSS animation normally runs on a clock. Scroll-driven animations tie it to a scroll position instead: animation-timeline: scroll() moves it along as a scroller scrolls, and view() moves it along as an element crosses the viewport. Reading-progress bars and fade-ins on scroll, which used to need a scroll listener or an IntersectionObserver, become a few declarations. Firefox was the last browser to ship it.

Delete: the script that moves an animation along with the scroll position.

CSS · before after
/* a script updates --progress on every scroll */
.bar { transform: scaleX(var(--progress)); }

/* no script. The timeline goes after the shorthand,
   which resets it to the default */
.bar {
  animation: grow linear both;
  animation-timeline: scroll(root);
}
@keyframes grow { from { transform: scaleX(0); } }

Firefox’s summary score is 0.63, against 0.89 for Chrome, which seems like a Hold at first glance, but most of the tests Firefox fails use a JavaScript API that Firefox doesn’t support. That’s why the tests fail. The animation itself holds up. On the tests of the CSS properties, Firefox 159 passes 89 of 111, Chrome 157 passes 90, and Safari 27.2 passes 86.

02Cleared

align-content in block layouts

Safe everywhere as of October 16, 2026

align-content has worked in flex and grid containers for years. It now works on an ordinary block: align-content: center on a box with a height centers its content vertically, with no change to display. Centering something no longer means turning its parent into a flex column.

Delete: the flex declarations that exist only to center a box’s content vertically.

CSS · before after
/* a flex column, only for the centering */
.panel {
  display: flex; flex-direction: column;
  justify-content: center;
}

.panel { align-content: center; }

The summary scores are low, 0.5 in Chrome and 0.45 in Safari, but Chrome’s failures are almost all one value, last baseline, and Safari’s are mostly floats: a float at the start of the centered content moves twice as far as the content around it. So before deleting, check the box for floats.

Removing flex also means collapsible margins are back in the layout.

03Hold

Scoped custom element registries

Not yet

A custom element’s name is registered once, with customElements.define('x-button', XButton), in a list the page keeps: the registry. One class per name, so two components that each ship their own button, say a design-system button and a third-party widget’s, can’t both call it <x-button>. The second one to load throws. A scoped registry gives a component its own list: create it with new CustomElementRegistry(), define names in it, and attach it to the component’s shadow root. Each component then registers its own <x-button>, and the two classes coexist.

When the shadow root is written in HTML, shadowrootcustomelementregistry on the <template> tells the browser not to apply the page’s registry to what is inside; a script hands the root its own with registry.initialize(shadowRoot).

Firefox 159 passes nearly all the tests. Safari 27.2 is the blocker. Writing the shadow root in HTML is where Safari fails: it has several bugs about which registry an element ends up with when components ship as declarative shadow roots, so keep whatever you do today until Safari fixes them.

HTML
<my-card>
  <template shadowrootmode="open" shadowrootcustomelementregistry>
    <x-button>Buy</x-button>
  </template>
</my-card>
<script>
  const registry = new CustomElementRegistry(); // this card's own list
  registry.define('x-button', CardButton);
  registry.initialize(document.querySelector('my-card').shadowRoot);
  // Move the button out of the card, and Safari 27.2 switches its registry
</script>

What didn’t make the cut

That was October: two deletions, one of them a script, and one feature Safari is not ready for yet.

Deleted something thanks to this? Got a correction? .

What’s next

I already know what November brings

A feature becomes widely available exactly 30 months after the last browser ships it. No committee, no vote, just a date. So I can already tell you that five features cross that line in November 2026, and what each of the twelve months ahead holds. What I can’t tell you yet is which of them are worth acting on, and that’s what the newsletter is for.

See the twelve-month calendar

Who writes this

One person, one opinion

I’m Yann. I run minimal design (opens in a new tab), and I’ve been building for the web for over twenty years. I also maintain mCSS (opens in a new tab), an open-source CSS framework. I started Cleared to break a loop I kept repeating: spot something clever on CodePen, look it up on caniuse, shelve it for another year. I like new toys as much as anyone, but what I need to know is which ones are ready for client work.

More about Cleared and why it exists

Subscribe