Registered Custom Properties: The Details of @property That Caught Me Out

What inherits false does, why registration makes custom properties animatable, how the @property specification is changing, and what my tests got wrong along the way.

If you have worked with CSS custom properties for a while, there is a good chance you have never needed @property. You set a value, read it with var(), and that covers most of what custom properties are used for. That was roughly where I was. I knew that registering a custom property is how you animate a gradient, and not much more.

Registered custom properties have been Baseline Newly available since July 2024 and become Widely available in January 2027, so I decided to work through them properly: a few hands-on challenges, each with Playwright tests that I ran in Chromium, Firefox, and WebKit. I expected to learn three descriptors and move on. Instead I found a handful of details I either did not know or got wrong, and this post walks through them: where a registered value is computed, what inherits: false does in practice, why registration is what makes a custom property animatable, how the specification is relaxing its rules, including a new shorthand I came across along the way, and what my tests taught me about writing tests that can fail.

Note: A quick word on what I tested before going further. Everything in this post was tested as of November 29, 2026. The cross-engine tables come from my own Playwright runs in Chromium 159.0.8154.6, Firefox 159.0, and WebKit 27.2. Additional probes ran in Chromium 157.0.8103.78, and I say so wherever a result comes only from there. Playwright’s WebKit build is not Safari, and I did not test Safari or Safari Technology Preview. Throughout the post, “registered” means a custom property defined with an @property rule or CSS.registerProperty(), and “unregistered” means an ordinary custom property that the browser treats as a sequence of tokens. Most sections include an interactive demo, so you can check the claims in the browser you use.

Where a Registered Value Is Computed

Let’s start with the detail that surprised me first. An @property rule tells the browser three things about a custom property: what kind of value it holds (syntax), whether children inherit it (inherits), and what it falls back to (initial-value). I thought of syntax as validation and not much more. It also changes when the browser works out the value.

With an ordinary custom property, the browser treats the value as text. Set --gap: 1.5em on a section, and every descendant inherits the text 1.5em and resolves it against its own font size when it uses var(--gap). Once --gap is registered as a <length>, the browser resolves 1.5em right there on the section, and descendants inherit the result in pixels.

Here is the page I built for the first challenge. The section has a font size of 1.25rem, which is 20px at the browser’s default root font size of 16px, and the four articles inside it have font sizes of their own:

@property --gap {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

section {
  --gap: 1.5em;
  --gap-plain: 1.5em;

  font-size: 1.25rem;

  article {
    background-color: chocolate;
    block-size: 3rem;
    padding: var(--gap);

    &:nth-child(1) {
      font-size: 1rem;
    }

    &:nth-child(2) {
      font-size: 1.375rem;
    }

    &:nth-child(3) {
      font-size: 1.5rem;
    }

    &:nth-child(4) {
      background-color: hotpink;
      font-size: 0.75rem;
      padding: var(--gap-plain);
    }
  }
}

The three articles that use the registered --gap all end up with 30px of padding, even though their font sizes are 1rem, 1.375rem, and 1.5rem (16px, 22px, and 24px). That 30px is 1.5em of the section’s 1.25rem (20px), worked out once on the section and then inherited. The fourth article uses the unregistered --gap-plain, so it inherits the text 1.5em and resolves it against its own 0.75rem (12px), which gives 18px. Chromium, Firefox, and WebKit all agree.

If it helps, think of an unregistered custom property as a text macro: the text is pasted in wherever var() appears, and only then does it mean anything. A registered property is more like a variable you assigned a number to: the number is fixed at the point where you assigned it.

One thing to watch if you build a demo like this: the control article needs a font size that differs from the section’s. If the two match, 1.5em resolves to the same value whether the property is registered or not, and the demo shows nothing. Claude’s first version of this challenge left that out, and I caught it before writing any code. A very similar mistake made my first test useless, which I come back to in the testing section.

Where em gets resolved

The section sets --demo-gap, registered as a <length>, and the unregistered --demo-gap-plain to the same em value. Each card uses one of them as its padding, shown as the tinted band. Change the section's font size or the gap, or switch a card between the two properties.

@property --demo-gap {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}
Ada Lovelace
Font size
16px
Inherited value
Padding
Grace Hopper
Font size
22px
Inherited value
Padding
Annie Easley
Font size
24px
Inherited value
Padding
Mary Allen Wilkes
Font size
12px
Inherited value
Padding

Resolved on the section: at becomes , and the registered cards inherit that length. The unregistered cards inherit the text and resolve it against their own font size.

Support for the Block Form

Before going further, a quick note on browser support. The block form of @property, the one with all three descriptors that you see in this post’s examples, has been Baseline Newly available since July 9, 2024. The first versions to support it were Chrome 85, Edge 85, Firefox 128, and Safari 16.4 (web-features 3.47.0, under the id registered-custom-properties), and it becomes Baseline Widely available on January 9, 2027.

Browser compatibility for @property on MDN Web Docs

Keep in mind that this status covers the block form only. It does not cover the optional descriptors or the shorthand I get to later in the post, which no engine I tested supports as of November 29, 2026.

What inherits: false Does

This is the detail that tripped me up in practice. With inherits: false, the value stays on the element that declares it, and children do not see it. A child that reads the property gets the initial value, not its parent’s value.

It helps to compare it with properties you already know. color inherits: set it on a section, and every paragraph inside picks it up. padding does not: set it on a section, and the paragraphs inside are not padded. A registered property with inherits: false behaves like padding.

Knowing that and remembering it while writing CSS turned out to be two different things. I ended up with two headings that rendered white on white in an earlier version of my theme challenge. A parent set --accent-secondary, a child heading used var(--accent-secondary) for its text color, and the child got the initial value, white, instead of the parent’s color. Here are the two registrations from the finished challenge, along with the rules that use them:

@property --accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #113555;
}

@property --accent-secondary {
  syntax: "<color>";
  inherits: false;
  initial-value: white;
}

section {
  --accent-secondary: black;

  background-color: var(--accent);
  border: 1rem solid var(--accent-secondary);

  > .heading {
    color: var(--accent-secondary);
    padding: 1rem;
  }
}

The section border is black, because the section both declares and uses --accent-secondary. The heading text is white, the initial value, not the section’s black.

This is the part I found most useful in the whole session. With inherits: false, you get something close to a value scoped to a single element: no descendant sees it unless it declares the property itself.

That has two practical consequences. The element that uses a non-inheriting property has to declare it as well, unless the initial value is the one it needs. And if you write a test to prove that a value does not inherit, give the parent a value that differs from the initial value. Otherwise the inherited and initial values look the same, and the test proves nothing.

Inheritance and invalid values

Both properties expect a <color> and start as slate (#566384). The parent box sets both to amber (#ffd166). Choose what the child box declares to see how inherits decides which value the child gets.

@property --demo-accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #566384;
}

@property --demo-accent-local {
  syntax: "<color>";
  inherits: false;
  initial-value: #566384;
}
The child box declares
inherits: true (--demo-accent)

The parent sets amber.

Child box:

inherits: false (--demo-accent-local)

The parent sets amber.

Child box:

Inheritance boundary: with nothing declared on the child, the property that inherits takes the parent's amber, and the property that does not inherit takes its initial slate.

Invalid Values Fail Late

Here is a question I got wrong. What happens when you give a registered property a value that does not match its syntax, say 12px for a <color>? I expected the browser to throw it away while parsing the stylesheet, the same way it throws away color: 12px.

That is not what happens. Registered custom properties are parsed the same way as unregistered ones, and the syntax check only happens later, when the browser computes the value. At that point the value is “invalid at computed-value time”, and the property behaves as if you had set it to unset. With inherits: true, that means it takes the parent’s value. With inherits: false, it takes the initial value.

The theme challenge tests this with a valid declaration followed by an invalid one, on a nested heading:

article {
  --accent: #496479;

  background-color: #200822;

  .heading {
    --accent: blue;
    --accent: 12px;
    --accent-secondary: blue;
    --accent-secondary: 12px;

    border: 1rem solid var(--accent);
    color: var(--accent-secondary);
    padding: 0.5rem;
  }
}

You might expect the earlier blue to win, because that is how ordinary properties work. With color: crimson; color: 12px;, the result is crimson: the browser drops 12px at parse time, so it never takes part in the cascade. With a registered property, 12px survives parsing, wins the cascade as the last declaration, and only fails afterward. By then blue has already lost. So the heading’s --accent, which inherits, becomes the article’s #496479, and its --accent-secondary, which does not inherit, becomes the initial white.

I measured both cases in all three engines, with an invalid value on its own and with a valid value before it, and the engines agree.

It took me two attempts to get this right. My first answer to the challenge was correct: the parent’s value when the property inherits, and the initial value when it does not. Then I talked myself out of it, reasoning that inherits should not matter for an invalid value, and changed my answer to the initial value in both cases. The browsers agreed with my first answer, not my second.

Note: The Editor’s Draft of CSS Properties and Values API Level 1 says, in section 4.1, that such a property “becomes invalid at computed-value time (and thus resets to the registered initial value)”. That aside sits in the section about registerProperty() and simplifies the rule. The normative definition is the Invalid Substitution section of CSS Values and Units Level 5: a registered custom property whose syntax is not "*" computes to its inherited value or its initial value, depending on whether it inherits, as if it had been set to unset. That is what all three engines I tested do.

One Registration per Document

Once I understood the difference between inherits: true and inherits: false, I wanted both behaviors on one page for the same property. That is not possible, and the reason is worth knowing: a registration applies to the whole document, and you cannot override part of one.

If a later @property rule for the same name is complete, it replaces the earlier rule entirely. If it is partial, say a rule with only inherits: false, it is missing syntax, so it is invalid, and the browser discards the whole rule. The earlier registration stays as it was. MDN also notes that the last rule in stylesheet order wins, and that a CSS.registerProperty() call wins over any @property rule.

Browser compatibility for CSS.registerProperty() on MDN Web Docs

My next idea was cascade layers. In Chromium 157, a second @property rule inside an @layer lost to the unlayered first rule. That matches CSS Cascade Level 5, which says name-defining at-rules such as @property follow layer order, and unlayered styles win over layered ones. Even so, layers cannot give you two behaviors at once, because there is only ever one registration per name.

The way to get both is to use two names. That is why the theme challenge has --accent with inherits: true and --accent-secondary with inherits: false. The specification also says that registrations are not scoped to a tree scope, so shadow trees share the document’s registrations too.

Animating a Registered Property

This is why most people reach for @property in the first place, and after the earlier sections, it made more sense to me why it works. A browser can only animate smoothly between two values if it knows how to find the values in between. To the browser, an unregistered custom property is text, and there is nothing halfway between the text 0deg and the text 180deg. Register the property as an <angle>, and the browser knows that 90deg sits halfway, so a transition can move through it.

The third challenge is a dial: a conic-gradient() whose filled angle comes from a custom property, transitioned on hover and on :focus-visible. I trimmed the CSS to the rules that matter for the transition:

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.dial {
  --dial-fill: #ffd166;
  --dial-track: #566384;
  --angle: 0deg;
  --angle-plain: 0deg;

  background: conic-gradient(var(--dial-fill) var(--angle), var(--dial-track) 0);
  block-size: 12rem;
  border-radius: 50%;
  inline-size: 12rem;

  &:not([data-registered]) {
    background: conic-gradient(var(--dial-fill) var(--angle-plain), var(--dial-track) 0);
  }

  &:is(:hover, :focus-visible) {
    --angle: 180deg;
    --angle-plain: 180deg;
  }
}

/* Only animate for people who have not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .dial {
    transition: --angle 1s;

    &:not([data-registered]) {
      transition: --angle-plain 1s;
    }
  }
}

On the registered dial, hovering starts one transition, which you can see in document.getAnimations(). To check the values in between, I paused the transition and set its currentTime. With the timing function set to linear for the test, the quarter points gave 0, 45, 90, 135, and 180 degrees. With the default ease, the angle at 500ms was about 144.4 degrees, which is a useful reminder that halfway in time is not halfway in value.

On the unregistered dial, no transition starts at all. getAnimations() returns nothing, transitionrun and transitionend never fire, and the angle jumps straight to 180 degrees. All three engines behave the same way.

Notice that the unregistered dial needs its own --angle-plain: 0deg starting value. Without it, var(--angle-plain) has no value, the background declaration becomes invalid at computed-value time, and the gradient disappears entirely. The registered --angle would fall back to its initial-value, but an unregistered property has nothing to fall back to.

Finally, the transitions live inside @media (prefers-reduced-motion: no-preference), so only people who have not asked for reduced motion see the sweep. With prefers-reduced-motion: reduce, the registered dial still reaches 180 degrees on hover and focus, just without the transition.

Animating a custom property

Hover over a dial, move focus to it with the keyboard, or press it. Use Sweep both dials to move them together. Both dials declare the same transition, but only the registered <angle> passes through the angles in between.

@property --demo-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

Typed as an angle, so it sweeps through the values in between.

Plain text, so it jumps straight to the end.

The Specification Is Changing

While working through the challenges, I came across the shorthand and found that the Editor’s Draft, dated November 27, 2026, describes a different @property from the one I had been testing. It also differs from the last Working Draft (March 26, 2024) and from MDN.

Three things change. Every descriptor becomes optional, with defaults of syntax: "*", inherits: true, and a guaranteed-invalid initial-value. A new shorthand, @property --foo <integer>: 0;, declares the type and initial value on one line, with more complex types wrapped in type(); it declares one name at a time, and you still need the block form to set inherits. And the prelude can now take several names, as in @property --a, --b { ... }.

If you are wondering when this happened, the timeline below is approximate, because I could only confirm parts of it. According to Roma Komarov’s write-up of four TPAC 2026 resolutions, published November 6, 2026, the CSS Working Group resolved the optional-descriptors issue (csswg-drafts issue #13211, opened December 3, 2025) “this March”, which places it in March 2026. I have not found the exact date. The shorthand was worked out in csswg-drafts issue #14442. The write-up says it was not fully resolved yet, but the issue has since been closed, on November 3, 2026, with the label “Closed Accepted by CSSWG Resolution”. The multi-name prelude goes back to csswg-drafts issue #7523, which the write-up says was resolved around a year earlier.

My understanding is that the shorthand came out of the work on CSS mixins. Issue #14442 is filed under css-mixins and is about giving types to private custom properties in mixins and to locals in @function bodies, which an outer @property registration does not reach. Roma Komarov’s write-up also mentions that one idea behind the shorthand was consistency with the argument lists of functions and mixins. I also believe more of the newer CSS functions will depend on typed, registered custom properties, though I have not confirmed that beyond issue #14442.

What Engines Do Today

So what do browsers do with these new forms today? I measured it. To detect whether a rule registered a property, I read computed values rather than relying on CSS.registerProperty() throwing: a registered <length> computes calc(1px + 2px) to 3px, while an unregistered property keeps the text as written. Every run included a complete rule as a positive control and no rule at all as a negative control. Here are two of the cases from the measurement script:

{
  id: "inherits-missing",
  label: "`inherits` missing",
  css: `@property --p { syntax: "<length>"; initial-value: 0px; }`,
  names: ["--p"],
  probe: { value: "calc(1px + 2px)", registered: "3px" },
},
{
  id: "shorthand",
  label: "Shorthand `@property --p <integer>: 5;`",
  css: `@property --p <integer>: 5;`,
  names: ["--p"],
  probe: { value: "calc(2 + 3)", registered: "5" },
},

As of November 29, 2026, Chromium 159, Firefox 159, and WebKit 27.2 ignore every one of the new forms: a missing inherits, a missing initial-value, the shorthand, and the multi-name prelude. They also reject initial-value: 3em on a <length>, which is invalid under both the old and the new rules because the value depends on the font size. None of those rules appeared as a CSSPropertyRule in document.styleSheets, so the engines drop them at parse time. The full tables are on issue #255 of css-property-type-validator.

Rules your browser accepts

Choose a preset or edit the rule, and the probe tests it in your browser. A registered <length> computes calc(1px + 2px) to 3px, while an unregistered property keeps the expression as written.

Result in this browser:
CSSOM rules
Probe value
No value set
Child of probe

That 3em case is worth a closer look, because it is easy to miss. The initial-value of a registered property has to be computationally independent: the browser must be able to turn it into a computed value without looking at any element. 10px works, and so does 1in, because an inch is always 96px. 3em does not, because an em depends on the font size of whichever element it is used on, and the initial value has to exist before any element uses the property. If the value fails this check, the browser does not just drop the initial-value. It ignores the whole @property rule, and the property behaves as if it were never registered.

I checked a handful of common values against a <length-percentage> registration in Chromium 157:

initial-value Result in Chromium 157 Why
10px, 1in, calc(1in + 2px) Registered Absolute lengths need no context
10% Registered A percentage stays a percentage at computed-value time
10vw Registered Fits the specification’s definition, which does not name viewport units
3em, 1ch, calc(1em + 2px) Whole rule ignored Depends on the element’s font
1rem Whole rule ignored Depends on the root font size, which CSS can change
var(--x) Whole rule ignored Depends on another custom property

The rem result surprised me most, because a rem looks global. The root font size is still something a stylesheet can change, so the browser cannot treat it as fixed. In practice, this restriction applies only to the initial-value. The values you set on elements can use em and rem freely, which is exactly what the first challenge does: --gap is registered with initial-value: 0px, and the section sets it to 1.5em.

That leaves you with three sources that disagree. MDN’s descriptor prose describes the established rules: syntax and inherits are required, and initial-value is required unless the syntax is "*". MDN’s formal syntax (page last modified May 1, 2026) already lists the shorthand and multi-name forms, but no prose explains them. The Editor’s Draft makes every descriptor optional. The engines match MDN’s prose, and so does this post, because that is what a stylesheet you write today has to work with.

What about Chrome? The implementer’s personal tracking page for Chromium issue 491802759 gives a target of M156 and says to try the feature with --enable-blink-features=CSSPropertyDescriptorsOptional. The ChromeStatus entry for optional descriptors (last updated November 30, 2026) is more current. It lists the feature as proposed and not yet released, with a plan to ship it enabled by default in Chrome 163. An earlier version of the entry planned Chrome 159. In Chromium 157, the feature did not turn on with --enable-blink-features=CSSPropertyDescriptorsOptional, --enable-features=CSSPropertyDescriptorsOptional, or --enable-experimental-web-platform-features. That suggests the implementation is not in that build. The Chromium 159 build I tested, 159.0.8154.6, also ignored every new form, so as of November 29, 2026, I have not seen optional descriptors work in any build I could run.

This change matters to me for a specific reason. I maintain css-property-type-validator, which reports @property rules that are missing required descriptors, because engines silently drop those rules today. From my understanding so far, if every descriptor becomes optional, most of what the validator reports as an error becomes valid CSS. That is why I am unsure about this change, and issue #255 is where I am working out what the validator should do next.

How the Tests Evolved

This is the part I most wanted to write about, because it changed how I write tests. I wrote the challenge solutions and their Playwright tests by hand, and Claude reviewed them. Claude also ran mutation-style checks against them: break the page in many small ways, run the suite, and see which breakages no test notices. A test that stays green while the page is broken is not testing what you think it is. The code in this section is the current version of each test.

A Test That Could Not Fail

My first version of the inheritance test passed with and without the @property rule, which means it could never fail. All three registered articles inherited the section’s 20px font size, so 1.5em came to 30px whether the browser resolved it at the section or at the article. The fix was to give each registered article its own font size, then check that the test goes red when I remove the registration. The test now asserts how many articles it found and pins the exact value:

test("registered --gap resolves em against parent", async ({ page }) => {
  const registeredArticles = page.locator("[data-registered]");
  await expect(registeredArticles).toHaveCount(3);

  for (const article of await registeredArticles.all()) {
    const articleMetrics = await readMetrics(article);
    expect(articleMetrics.padding).toBe(20 * 1.5);
  }
});

Before pinning the value, I compared the three paddings to each other. That also passed when I switched the registration to inherits: false, because every padding dropped to the initial 0px, and three zeros are equal. Pinning 30px caught that. For a while I also had a not.toBe(0) check, which adds nothing once toBe(30) is there.

Assertions That Guard Nothing

The invalid-value tests assert that the heading is not blue. During the mutation run, deleting the valid blue declaration from the page left every test green. Looking back, of course it did: a heading with no blue declaration is never blue. A not.toBe() assertion only tells you something once you have proven that the thing it rules out exists. The fix is a positive control that removes the invalid declaration and checks that blue then wins:

// Positive control: without the invalid declaration, blue is the result. This proves
// blue is declared on the heading, so the not.toBe(blue) assertion above guards something.
expect(await removeDeclaration(page, "--accent-secondary: 12px;")).toBe(1);
const control = await readStyles(page.locator("article > .heading"), "--accent-secondary", [
  "color",
]);
expect(control.color).toBe(COLORS.blue);

The helper edits the text of the <style> element rather than the CSS Object Model. The CSSOM keeps only the last of several declarations for the same property, so the earlier blue is not visible there. The helper also returns how many times it found the declaration, so a typo in the control fails the test instead of quietly doing nothing.

Async Loops and Empty Loops

At one point I looped over elements with forEach and an async callback. This one is easy to miss: forEach does not wait for the promises its callback returns, so the test finished before any of the assertions ran. A for...of loop with await does wait, and so does reading all the values first and asserting afterwards. That same loop had a second problem. If the locator matches zero elements, the loop body never runs, and the test passes without asserting anything. Checking the count before the loop catches that:

const descendants = page.locator("section *");
await expect(descendants).toHaveCount(4);

for (const [index, descendant] of (await descendants.all()).entries()) {

A Positive Control With a Gap

For the unregistered dial, the test that says “no transition happens” could pass simply because I misspelled the transition declaration. So I added a positive control that checks the transition is declared:

expect(transition).toEqual({ property: "--angle-plain", duration: "1s" });

The control checks that the transition is declared, but not which property the gradient reads, and a mutation found that gap. When the unregistered dial’s gradient was changed to read the registered --angle, the suite stayed green. The tests read --angle-plain and the background, both still said 180 degrees, and so nothing proved the unregistered dial was drawing from the unregistered property.

The fix is a test that gives the two properties different values, so the gradient can only show one of them. Claude wrote this one at my request after the session:

test("the unregistered dial's gradient reads --angle-plain, not --angle", async ({ page }) => {
  const dial = page.locator(".dial:not([data-registered])");

  // --angle stays at 0deg, so the gradient can only show 90deg if it reads --angle-plain.
  await dial.evaluate((element) => element.style.setProperty("--angle-plain", "90deg"));

  const { background } = await readDial(dial, "--angle-plain");
  expect(background).toContain("90deg");
});

Against the page as it is, the test passes. Against the mutation, where the unregistered dial’s gradient reads --angle, it fails, because the gradient still shows 0deg. I checked both in Chromium 157.

Reading Values Mid-Transition

Sampling a transition with a timer is flaky, because you cannot know exactly where the transition will be when the timer fires. Pausing the animation and setting currentTime gives the same value on every run:

transition.pause();
transition.currentTime = 500; // halfway through the 1s transition
return parseFloat(getComputedStyle(element).getPropertyValue(customProperty));

The test then asserts a range strictly between the two endpoints, greater than 0 and less than 180. Asserting 90 degrees would fail: as the animation section showed, under the default ease timing the halfway point in time is about 144.4 degrees.

Detecting Registration

Claude’s first measurement script treated CSS.registerProperty() throwing as a sign that a name was already registered. That turned out to be unreliable, so the script now reads computed values instead, with a positive and a negative control, and records the CSSOM result separately. Claude also flagged a risk that engines would serialize registered <color> values or conic-gradient() strings differently and break the string comparisons in my tests. I ran the suite in all three engines, and they produced the same strings.

Wrapping Up

If you take one thing from this post, I would make it this: registering a custom property turns it from text into a typed value, and nearly everything that surprised me follows from that. A typed value is computed where it is declared, so descendants inherit a result rather than text. It can be interpolated, so it can be animated. And it is checked against its type when the value is computed, not when the stylesheet is parsed, which is why an earlier valid declaration cannot rescue an invalid one.

The traps I fell into were a parent value that a non-inheriting child never sees, a test that could not fail because the registered articles shared the section’s font size, and assertions that ruled out something that was no longer on the page. The block form of @property is ready to use, and it becomes Baseline Widely available on January 9, 2027. The optional descriptors, the shorthand, and the multi-name prelude are in the Editor’s Draft but not in any engine I tested as of November 29, 2026, so if you use them today, the browser will drop those rules.

I have not tested any of this in Safari or Safari Technology Preview. If you do, I would like to know what you see, especially for the optional-descriptor cases in issue #255.

How this work was done: I build and write in collaboration with AI, mostly Claude Code. So the work described and the post itself were made through this collaboration. I hope you find both the work and the words meaningful, or at least useful. Thank you.

Further Reading