Re: [css-houdini-drafts] [css-properties-values-api] `@property` descriptors should be optional whenever possible (#1162)

Perhaps the default values should match how an unregistered custom property behaves? Or at least as close as possible. `initial-value` is the only part that's tricky there I think as it would be the `<guaranteed-invalid-value>` which isn't representable, though it is already the default if it's not specified.

So these would be equivalent:

```css
@property --a {};

@property --a {
 inherits: true;
 syntax: "*";
 /* initial-value: guaranteed-invalid-value; */
};
```

-- 
GitHub Notification of comment by AtkinsSJ
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1162#issuecomment-3611356552 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 4 December 2025 10:24:02 UTC