Re: [csswg-drafts] [css-properties-values-api] Shorthand for custom property declaration (#7523)

> I think it's simpler to expand at parse time

Do you mean that this...

```css
@property --width, --height, --depth {
 syntax: "<length>";
 inherits: false;
 initial-value: 2147483647px;
}
```
...would become this in CSSOM?

```css
@property --width {
 syntax: "<length>";
 inherits: false;
 initial-value: 2147483647px;
}
@property --height {
 syntax: "<length>";
 inherits: false;
 initial-value: 2147483647px;
}
@property --depth {
 syntax: "<length>";
 inherits: false;
 initial-value: 2147483647px;
}
```

That would seem very weird to me.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7523#issuecomment-4217138148 using your GitHub account


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

Received on Thursday, 9 April 2026 20:00:43 UTC