---
title: "aadhar.sh/garage/html-over-js: Trading page scripts for CSS changes keyboards more than bytes"
description: "Five PRs swap page scripts for HTML and CSS. Every piece is built both ways, to show where each wins, where the line blurs and what neither can do."
path: "/garage/html-over-js"
section: "garage"
kind: "content"
updated: "2026-11-27"
source: "https://aadhar.sh/garage/html-over-js"
---

> Site index: https://aadhar.sh/llms.txt
> Section index: https://aadhar.sh/garage/llms.txt
> This is the Markdown twin of a page on aadhar.sh. The HTML at the source
> URL below is the original, and is hand-written and unminified on purpose.

# Trading page scripts for CSS changes keyboards more than bytes

[Aleth Gueguen's *Go fast? Go web native*](https://alethgueguen.com/slides/2026_Performance_now/go-fast-go-web-native.html) asks whether the script behind an interactive element can give way to modern HTML. Five stacked PRs here swap page scripts for HTML and CSS on 22 pages and call the result functionally identical. This page shows where that holds, where the line between the two blurs, and what neither can do, with every piece built both ways so you can press them side by side.

## The trade, both ways

|  | HTML and CSS | JS |
| --- | --- | --- |
| script off or failing | works | the control does nothing; a built table or filter is empty |
| keyboard | a radio group is 1 Tab stop, arrow keys move the pick, Enter doesn't pick | buttons: 3 to 8 Tab stops, Enter picks |
| screen reader | radio \[checked\] | button \[pressed\] |
| bytes on the wire | a tie, within a few hundred bytes a page |  |
| work per press, 19 rows | a tie, 1.3 ms or less |  |
| work per press, 4,750 rows | :has() does 2.5x in Chromium, 11.8x in WebKit | rebuilds only the rows it keeps |
| the XP look | the same inside the page; neither reaches what the browser draws outside it |  |
| timers, fetch, storage, the pointer, typed text | can't | can |
| dialog backdrop click on Safari 26 | closedby arrives in Safari 27.3 | a hand-written check |

HTML and CSS win where a control has a small, fixed set of states and the browser draws it inside the page. JS wins where the state lives somewhere CSS can't read: a timer, the network, storage, the pointer, or text a reader typed.

## Why the code was JS in the first place

No commit says, so this is what the history shows.

- **Browser support wasn't the reason.** The JS was written between June and August 2026. :has() had shipped in all three engines in December 2023, and command and commandfor in December 2025. Only closedby, the backdrop click, still misses Safari 26.
- **Agents wrote most of it.** The JS tabs came in a commit co-authored by Claude Opus 4.8, and 594 of the 2,848 commits since June carry a Claude co-author. A button with aria-pressed and a click handler is the pattern a model has seen most.
- **The template asked for script.** A garage page has a pageJs slot that 12 of 15 pages use, and its README tells you where to put a script that builds a table or a filter bar.
- **Each page copied the last.** PR 1891 converts the same button group on eight pages.

## The same control with and without script

Each bench runs one control three ways: this site's JS, that same markup with its script removed (what a reader gets when the script fails or JavaScript is off), and the HTML twin.

### Tabs, from /garage/gpt56

JS twin: buttons, aria-pressed, a click handler that rewrites the panel

## performance workbench / three checks

CHECK 01 · FIRST PAINT

Pick a layer of the tune-up. The readout is deliberately small: one concrete decision, one thing to measure, one thing that can still go wrong.

### Make the first frame honest

Keep the desktop and window geometry in the document, [preload][preload] the shared Luna sheet, and defer the shell behavior. The browser paints the identity before JavaScript has had a chance to help.

JS, script off: the first panel shows; the buttons do nothing

## performance workbench / three checks

CHECK 01 · FIRST PAINT

Pick a layer of the tune-up. The readout is deliberately small: one concrete decision, one thing to measure, one thing that can still go wrong.

### Make the first frame honest

Keep the desktop and window geometry in the document, preload the shared Luna sheet, and defer the shell behavior. The browser paints the identity before JavaScript has had a chance to help.

HTML twin: radios in a fieldset, :has() picks the panel

## performance workbench / three checks

CHECK 01 · FIRST PAINTCHECK 02 · BYTESCHECK 03 · SHIP

Pick a layer of the tune-up. The readout is deliberately small: one concrete decision, one thing to measure, one thing that can still go wrong.

### Make the first frame honest

Keep the desktop and window geometry in the document, [preload](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/preload) the shared Luna sheet, and defer the shell behavior. The browser paints the identity before JavaScript has had a chance to help.

### Give every byte a stable home

Hash the thumbnails, let static assets answer at the edge, and use one cacheable Luna sheet. If a byte changes, its URL or cache key should tell the truth.

### Prove the fast build shipped

Run the invariant tripwires, minify only the earned shell assets, keep the readable twins, and curl the routes. A green deploy is a claim with evidence attached.

### A filter over 19 rows, from /garage/hidden-flags

JS twin: builds the buttons and the table, rebuilds the table on each click

JS, script off: the script builds the filters and the rows, so nothing shows

HTML twin: 19 rows in the markup, :has() hides the rest

filter the flags

19 hidden flags5 of 19 hidden flags4 of 19 hidden flags2 of 19 hidden flags6 of 19 hidden flags3 of 19 hidden flags3 of 19 hidden flags1 of 19 hidden flags

| flag | alias | group | what it says it does |
| --- | --- | --- | --- |
| `--experimental-new-config` | `--x-new-config` | config | \[experimental\] Use cloudflare.config.ts and wrangler.config.ts |
| `--experimental-cf-build-output` | `--x-cf-build-output` | config | \[experimental\] Emit a Build Output Specification directory under .cloudflare/output/ (requires --experimental-new-config) |
| `--experimental-auto-create` | `--x-auto-create` | release | Automatically provision draft bindings with new resources |
| `--experimental-provision` |  | release | No description in the definition. Pinned off here alongside auto-create, because no deploy path on this account may create resources. |
| `--max-versions` |  | release | Maximum allowed versions to select. Defaults to 2, and its own comment says the limit is server side. |
| `--experimental-deploy-helpers` | `--x-deploy-helpers` | release | Experimental: Gates refactored deploy/upload path |
| `--experimental-include-runtime` | `--x-include-runtime` | types | The path of the generated runtime types file |
| `--enable-containers` |  | containers | Whether to build and enable containers during development |
| `--config-file` | `-F` | containers | Sets ssh -F: specify an alternative per-user ssh configuration file |
| `--identity-file` | `-i` | containers | Sets ssh -i: select a file from which the identity for public key authentication is read |
| `--escape-char` |  | containers | Sets ssh -e: set the escape character for sessions with a pty |
| `--log-file` |  | containers | Sets ssh -E: append debug logs to log\_file instead of standard error |
| `--mac-spec` |  | containers | Sets ssh -m: a comma separated list of message authentication code algorithms, in order of preference |
| `--delegate-c3` | `--c3` | setup | Delegate to Create Cloudflare CLI (C3) |
| `--install-wrangler` |  | setup | Install Wrangler during project setup |
| `--completion-message` |  | setup | Display a message with deployment details after wrangler setup is complete |
| `--node-compat` |  | legacy | Enable Node.js compatibility |
| `--site-include` |  | legacy | Workers Sites: gitignore style patterns; only matched items will be uploaded |
| `--site-exclude` |  | legacy | Workers Sites: gitignore style patterns; matched items are skipped |

### A modal, from Notepad

JS twin: a template, showModal(), and a hand-written backdrop check

JS, script off: the button does nothing

HTML twin: command=show-modal and closedby=any

### A sticky note, from /writing

JS: the close box is a link; a click handler stops it and calls hidePopover()

todo.txt · [✕](https://aadhar.sh/writing)

A popover note with an XP close box.

JS, script off: the close box is still a link, to /writing

todo.txt · [✕](https://aadhar.sh/writing)

A popover note with an XP close box.

HTML twin: popovertargetaction="hide" on a button

todo.txt

A popover note with an XP close box.

### A tree, from /access

JS: buttons with aria-expanded; a click handler hides the branch

- - Tahoma
  - Verdana
  - Trebuchet MS
- - Luna blue
  - Olive green
  - Silver

JS, script off: the buttons do nothing

- - Tahoma
  - Verdana
  - Trebuchet MS
- - Luna blue
  - Olive green
  - Silver

HTML twin: details and summary, CSS draws the + and -

- Fonts
  
  - Tahoma
  - Verdana
  - Trebuchet MS
- Colours
  
  - Luna blue
  - Olive green
  - Silver

## Where the line blurs

Each piece below is built twice. The badge says where it falls: CSS can do it now, CSS can do it where your browser supports the feature, or only script can.

Fade in on open · **CSS now**

JS

Faded in by a class and a timer.

HTML and CSS

Faded in by @starting-style.

@starting-style gives an element a style to transition from on its first frame, so a fade on open needs no class swap.

Count what's ticked · **CSS now**

JS

2 of 3 on

HTML and CSS

A CSS counter adds one per :checked box. It can count; it can't do arithmetic on what it counts.

A scroll progress bar · **works in this browsernot in this browser**

JS

Line 1 of a long note.

Line 2 of a long note.

Line 3 of a long note.

Line 4 of a long note.

Line 5 of a long note.

Line 6 of a long note.

Line 7 of a long note.

Line 8 of a long note.

Line 9 of a long note.

Line 10 of a long note.

Line 11 of a long note.

Line 12 of a long note.

Line 13 of a long note.

Line 14 of a long note.

HTML and CSS

Line 1 of a long note.

Line 2 of a long note.

Line 3 of a long note.

Line 4 of a long note.

Line 5 of a long note.

Line 6 of a long note.

Line 7 of a long note.

Line 8 of a long note.

Line 9 of a long note.

Line 10 of a long note.

Line 11 of a long note.

Line 12 of a long note.

Line 13 of a long note.

Line 14 of a long note.

animation-timeline: scroll() drives the bar from the scroller's position. Where it's missing, the bar stays empty and the script is the only way.

A text box that grows · **works in this browsernot in this browser**

JS · HTML and CSS

field-sizing: content sizes the box to what's in it. Elsewhere it keeps one row and scrolls.

Count the characters typed · **JS only**

JS

4 characters

HTML and CSS

no count

CSS can style a field, size it to its text and flag it invalid. It can't read the text, so it can't say how long it is.

Show a slider's value · **JS only**

JS · HTML and CSS

CSS can style the track and the thumb. The number beside it stays where the page started, because CSS can't read a moved slider.

A tooltip that follows the cursor · **JS only**

JS

Move the pointer here

x, y

HTML and CSS

Move the pointer here

pinned under the box

CSS can pin a tooltip to an element and delay it. Following the pointer, and printing where it is, takes script.

What every JS-only piece shares: it reads a value that changes after the page loads (typed text, a slider's position, the pointer), and CSS can't read values, only states like :checked and :user-invalid.

## Does native HTML break the XP look?

The worry on this site: browsers draw their controls in 2026's style. Each pair shows a control as the browser ships it, then the same element dressed in Luna.

A dialog · **holds**

as the browser draws it

A dialog as the browser ships it.

in Luna

The box and its backdrop are page content, so a title bar and a frame make it a window.

A disclosure · **holds**

as the browser draws it

Fonts

Tahoma, Verdana

in Luna

- Fonts
  
  - Tahoma
  - Verdana

The triangle is a ::marker. Hide it and CSS draws XP's + and -.

A focus ring · **holds**

as the browser draws it · in Luna

Tab onto each. :focus-visible draws XP's dotted rectangle inside the face.

Radios and a checkbox · **holds**

as the browser draws it · in Luna

appearance: none hands the box to CSS. The keyboard, the form value and the screen reader stay native.

A drop-down · **Chromium only**

as the browser draws it · in Luna

appearance: base-select lets CSS draw the open list too, in Chromium. Elsewhere the closed box takes CSS and the list that opens is the system's.

A file button · **holds**

as the browser draws it · in Luna

::file-selector-button takes the XP button. The file dialog it opens is the system's, with script or without.

A validation message · **browser's own**

as the browser draws it · in Luna

Type one letter and press Ask. The bubble on the left is drawn above the page, where no stylesheet reaches. The balloon needs novalidate, so stopping a short question there takes script.

A tooltip · **browser's own**

as the browser draws it

in Luna

Shows the desktop

A title is drawn by the system. A CSS tooltip holds the look; following the cursor, as Luna's do, takes script.

Whatever the browser draws inside the page takes Luna. What it draws outside doesn't, and script can only replace those, never restyle them:

| drawn by the browser | HTML and CSS | JS |
| --- | --- | --- |
| the validation bubble | can't style it | can turn it off and draw its own balloon |
| a title tooltip | can't style it | can drop it and draw its own |
| a select's open list | can style it in Chromium, with appearance: base-select | can replace the select with its own list |
| the file dialog, the print dialog, permission prompts, autofill | neither: these belong to the browser and the operating system |  |

## The numbers

Every twin was screenshotted at load and after every press in Chromium 158, Firefox 159 and WebKit 27.2 with `bun run twin:bench`, which first checks it can tell a twin from itself (0 of 5 states differ) and from a 0.3 px change (5 of 5).

| twin pair | states | chromium 158.0.8127.89: identical states, most pixels apart | firefox 159.0: identical states, most pixels apart | webkit 27.2: identical states, most pixels apart |
| --- | --- | --- | --- | --- |
| tabs | 5 | 2 of 5, 2245 px | 2 of 5, 2232 px | 2 of 5, 2250 px |
| filter | 9 | 9 of 9, 0 px | 9 of 9, 0 px | 5 of 9, 32 px |
| sibling | 9 | 9 of 9, 0 px | 9 of 9, 0 px | 5 of 9, 32 px |
| sibling-fs | 9 | 9 of 9, 0 px | 9 of 9, 0 px | 5 of 9, 32 px |
| dialog | 6 | 6 of 6, 0 px | 6 of 6, 0 px | 6 of 6, 0 px |
| popover | 2 | 2 of 2, 0 px | 2 of 2, 0 px | 2 of 2, 0 px |

| twin | Tab stops | ArrowRight picks | Space picks | Enter picks | reload keeps the pick | with JS off |
| --- | --- | --- | --- | --- | --- | --- |
| tabs-js | chromium 4<br>firefox 4<br>webkit 1 | no | yes | yes | no | Make the first frame honest |
| tabs-radio | chromium 2<br>firefox 2<br>webkit 1 | yes | yes | no | chromium no<br>firefox yes<br>webkit no | Make the first frame honest |
| filter-js | chromium 8<br>firefox 9<br>webkit 1 | no | yes | yes | no | (no count) / 0 rows / 0 filters |
| filter-radio | chromium 1<br>firefox 2<br>webkit 1 | yes | yes | no | chromium no<br>firefox yes<br>webkit no | 19 hidden flags / 19 rows / 8 filters |
| filter-sibling | chromium 1<br>firefox 2<br>webkit 1 | yes | yes | no | chromium no<br>firefox yes<br>webkit no | 19 hidden flags / 19 rows / 8 filters |
| filter-sibling-fs | chromium 1<br>firefox 2<br>webkit 1 | yes | yes | no | chromium no<br>firefox yes<br>webkit no | 19 hidden flags / 19 rows / 8 filters |

| PR | what it converts | pages | inline scripts | inline script, raw | documents, compressed |
| --- | --- | --- | --- | --- | --- |
| [1889](https://github.com/oddharsh/site/pull/1889) | static tables and server-rendered /restore | 4 | 4 to 3 | 30.2 KB to 28.9 KB | 43.4 KB to 45.6 KB +2,252 B |
| [1890](https://github.com/oddharsh/site/pull/1890) | @supports and @starting-style | 4 | 6 to 5 | 67.7 KB to 65.9 KB | 59.5 KB to 59.5 KB -32 B |
| [1891](https://github.com/oddharsh/site/pull/1891) | :has() state machines | 8 | 13 to 4 | 35.5 KB to 6.8 KB | 94.9 KB to 94.6 KB -254 B |
| [1892](https://github.com/oddharsh/site/pull/1892) | native dialogs, popovers, forms, links | 5 | 12 to 11 | 31.2 KB to 30.3 KB | 97.4 KB to 97.4 KB -40 B |
| [1893](https://github.com/oddharsh/site/pull/1893) | /lens: invokers, details, forms | 1 | 0 to 0 | 0.0 KB to 0.0 KB | 19.6 KB to 19.7 KB +129 B |

PR 1891 removes 28.7 KB of raw script and its pages shrink by 254 B, because brotli had already squeezed the script.

| twin pair | JS twin, page brotli | HTML twin, page brotli | change | JS twin min CSS + HTML + JS | HTML twin min CSS + HTML |
| --- | --- | --- | --- | --- | --- |
| tabs | 1784 B | 1721 B | -63 B | 247 + 1607 + 1617 | 1052 + 2481 |
| filter | 1942 B | 1990 B | +48 B | 389 + 202 + 4151 | 2848 + 4681 |
| filter, sibling | 1942 B | 2081 B | +139 B | 389 + 202 + 4151 | 3356 + 4893 |
| filter, sibling in fieldset | 1942 B | 2098 B | +156 B | 389 + 202 + 4151 | 3504 + 4895 |
| dialog | 903 B | 639 B | -264 B | 0 + 71 + 1334 | 0 + 717 |
| popover | 451 B | 379 B | -72 B | 0 + 260 + 172 | 0 + 301 |

| twin | chromium | chromium 4x | firefox | webkit |
| --- | --- | --- | --- | --- |
| 950 rows, JS | 5.31 ms p90 23.52 | 20.7 ms p90 93.57 | 6.51 ms p90 24.52 | 18.11 ms p90 84.3 |
| 950 rows, :has() | 13.56 ms p90 34.64 | 55.74 ms p90 140.59 | 13.18 ms p90 32.38 | 72.19 ms p90 174.68 |
| 950 rows, sibling | 7.2 ms p90 30.1 | 25.47 ms p90 114.75 | 6.71 ms p90 27.86 | 24.37 ms p90 96.78 |
| 4,750 rows, JS | 25.22 ms p90 127.42 | 101.06 ms p90 517.55 | 32.46 ms p90 136.5 | 109.6 ms p90 416.38 |
| 4,750 rows, :has() | 63.42 ms p90 172.16 | 272.87 ms p90 721.83 | 72.3 ms p90 264.92 | 1289.69 ms p90 2237.68 |
| 4,750 rows, sibling | 30.59 ms p90 144.4 | 121.88 ms p90 596.81 | 35.7 ms p90 241.1 | 565.43 ms p90 1151.62 |

Every page in the stack, what has to stay script, offscreen rows, the quiz and browser support

| PR | page | chromium at load | firefox at load | webkit at load | Chromium, presses that match |
| --- | --- | --- | --- | --- | --- |
| 1889 | `/garage/ig-prep` | same | same | same |  |
| 1889 | `/garage/resample` | same | same | same |  |
| 1889 | `/garage/typed-config` | same | same | same | 2 of 2 |
| 1889 | `/restore` | same | same | 735 px | 0 of 0 |
| 1890 | `/garage/scroll` | same | same | same | 0 of 0 |
| 1890 | `/garage/safari27` | same | same | same | 1 of 1 |
| 1890 | `/garage/masonry` | changes on reload | changes on reload | same | 0 of 0 |
| 1890 | `/pixel-peeper` | 7 px | same | same | 0 of 0 |
| 1891 | `/garage/gpt56` | 20,681 px | 18,902 px | height differs | 0 of 0 |
| 1891 | `/garage/octane` | same | same | 1,861 px | 0 of 0 |
| 1891 | `/garage/hidden-flags` | same | same | same | 1 of 8 |
| 1891 | `/garage/useragent` | same | same | same | 0 of 4 |
| 1891 | `/lwe/tee` | same | same | height differs | 0 of 5 |
| 1891 | `/lwe/fuse` | same | same | 8,460 px | 3 of 5 |
| 1891 | `/lwe/lean` | same | same | 24,409 px | 6 of 10 |
| 1891 | `/coffee` | same | same | same | 10 of 10 |
| 1892 | `/` | changes on reload | changes on reload | same |  |
| 1892 | `/writing` | same | same | same |  |
| 1892 | `/garage/chunks` | same | same | same | 3 of 3 |
| 1892 | `/access` | same | same | same | 3 of 3 |
| 1892 | `/lwe/knots` | same | same | 98 px | 0 of 0 |
| 1893 | `/lens` | 199,797 px | 162,913 px | height differs | 0 of 1 |

| what the script does | what replaces it | where the stack uses it | same for a reader? |
| --- | --- | --- | --- |
| writes a constant table or list into the page | the rows, written in the markup | ig-prep, resample, useragent, /restore | yes, once the rows exist only once |
| calls `CSS.supports()` to colour a chip | an `@supports` rule | scroll, safari27, masonry | yes, and right at first paint |
| buttons with `aria-pressed` swap a panel or filter rows | radios in a `fieldset`, `:has()` picks what shows | gpt56, octane, hidden-flags, useragent, tee, fuse, lean, masonry | pixels yes, keyboard no |
| builds a dialog, calls `showModal()`, checks backdrop clicks by hand | a static `dialog`, `command="show-modal"`, `closedby="any"` | Notepad, /access, Lens, the WebMCP gate | yes where `closedby` ships |
| calls `hidePopover()` from a close link | `popovertargetaction="hide"` on a button | Notepad's popover notes | yes, and the pixels match |

| where | read | can go whole | can go in part | stays script |
| --- | --- | --- | --- | --- |
| shell modules: nav, tooltips, Notepad, photos, Run | 13 modules, about 6,000 lines | about 150 lines |  | about 5,850 lines |
| Garage page scripts | 41 | 7 | 13 | 21 |
| LWE, home, /access, Pixel Peeper | 24 | 4 | 4 | 16 |
| read first, by hand | 8 | 3 | 1 | 4 |
| **every page script** | **73** | **14** | **18** | **41** |

| twin | chromium | chromium 4x | firefox | webkit |
| --- | --- | --- | --- | --- |
| tabs, JS | 0.54 ms p90 0.96 | 1.17 ms p90 1.53 | 0.28 ms p90 0.38 | 0.44 ms p90 0.66 |
| tabs, radios | 0.86 ms p90 1.41 | 1.38 ms p90 1.74 | 0.5 ms p90 0.6 | 0.72 ms p90 0.78 |
| control: 20 ms busy-wait in the click handler, added | +20.1 ms | +20.5 ms | +20.2 ms | +20.2 ms |
| control: 20 ms busy-wait on the radio's change, added | +20.2 ms | +20.1 ms | +20.2 ms | +20.1 ms |
| 19 rows, JS | 1.04 ms p90 1.79 | 1.83 ms p90 3.95 | 0.82 ms p90 1.02 | 0.86 ms p90 2.12 |
| 19 rows, :has() | 1.28 ms p90 2.51 | 2.45 ms p90 4.12 | 1.26 ms p90 1.58 | 1.27 ms p90 2.66 |
| 19 rows, sibling | 1 ms p90 1.69 | 1.87 ms p90 3.64 | 0.71 ms p90 1.18 | 0.96 ms p90 2.2 |

| variant | chromium | chromium 4x | firefox | webkit | last row's cells |
| --- | --- | --- | --- | --- | --- |
| 4,750 rows, JS | 25.22 ms | 101.06 ms | 32.46 ms | 109.6 ms | rendered |
| JS, content-visibility | 25.18 ms | 96.61 ms | 30.11 ms | 87.45 ms | rendered |
| JS, grid rows | 26.15 ms | 105.14 ms | 27.99 ms | 89.69 ms | rendered |
| JS, grid rows + c-v | 4.82 ms | 19.5 ms | 16.36 ms | 32.15 ms | skipped |
| 4,750 rows, :has() | 63.42 ms | 272.87 ms | 72.3 ms | 1289.69 ms | rendered |
| :has(), content-visibility | 67.49 ms | 308.97 ms | 67.94 ms | 1293.5 ms | rendered |
| :has(), grid rows | 59.96 ms | 269.52 ms | 71.31 ms | 1239.91 ms | rendered |
| :has(), grid rows + c-v | 31.59 ms | 140.35 ms | 56 ms | 1276.65 ms | skipped |
| 4,750 rows, sibling | 30.59 ms | 121.88 ms | 35.7 ms | 565.43 ms | rendered |
| sibling, content-visibility | 34.52 ms | 146.39 ms | 38.6 ms | 811.31 ms | rendered |
| sibling, grid rows | 29.88 ms | 121.28 ms | 33.45 ms | 540.7 ms | rendered |
| sibling, grid rows + c-v | 10.94 ms | 43.24 ms | 26.16 ms | 365.97 ms | skipped |

The understanding check at the foot of this page keeps script for its fetch and best score. PR 1927 runs the rest in CSS on /garage/scroll and gives up answer lock-in and the best score.

| what | script quiz | CSS quiz |
| --- | --- | --- |
| `/garage/scroll`'s quiz file, brotli | 2,064 B | 2,592 B |
| all 31 garage quiz files, brotli | 58,300 B | 74,252 B |
| `quiz.css`, brotli | 804 B | 1,017 B |
| `quiz.js`, brotli | 2,393 B | 1,645 B |
| an answer locks once checked | yes | no, a radio stays changeable |
| best score kept | yes | no |
| "nearly clean" for one miss | yes | no |
| answered questions | replaced in place | stay stacked |

First versions from MDN browser-compat-data, read on 2026-11-27. This site supports the current Chrome, Safari 26 and Firefox 150.

| feature | Chrome | Firefox | Safari | what it replaced |
| --- | --- | --- | --- | --- |
| `@supports` | 28 | 22 | 9 | `CSS.supports()` calls |
| `@supports selector()` | 83 | 69 | 14.1 | the `:heading` probe |
| `:has()` | 105 | 121 | 15.4 | the click handler that picks a panel |
| `:nth-child(odd of S)` | 111 | 113 | 9 | re-striping rows the script rebuilt |
| `:focus-visible` | 86 | 85 | 15.4 | the focus ring a button drew for free |
| `popovertarget`, `popovertargetaction` | 114 | 125 | 17 | `hidePopover()` |
| `command`, `commandfor` | 135 | 144 | 26.2 | `showModal()` on click |
| `dialog closedby` | 134 | 141 | 27.3 | the hand-written backdrop check |

## What the oracle caught

- **gpt56 showed all three readouts at once:** `.sol-ro{display:none}` lost to a later `.readouts{display:grid}` of the same specificity.
- **hidden-flags striped unevenly when filtered:** hidden rows still count for `:nth-child(odd)`; `:nth-child(odd of [data-g=config])` counts only the rows a filter keeps.
- **fuse's first demo threw on every visit:** the build minified its inline script as a module, and a block-scoped function collided with a mangled name.

## Before the stack merges

- **1890** leaves masonry's radio checked on browsers without grid-lanes, Safari 26 and Firefox; the old code disabled it.
- **1893** needs /lens\* out of the speculation rules, or hovering a chip prerenders an inspection of a third-party site.
- **1889**, **1891** and **1892** are ready.

[preload]: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/preload "A link hint that tells the browser to start downloading a file it will need soon, before it would otherwise discover it."

Source: https://aadhar.sh/garage/html-over-js
