Re: [csswg-drafts] [css-variables-2] Custom shorthands with `@property` (#7879)

> Does this define `--some-shorthand-padding` with `syntax: "<length>"` and `--some-shorthand-color` with `syntax: "<color>"`? Or would they need to be defined separately, defaulting to `syntax: "*"` if not?

Both, plus `--some-shorthand` with syntax `<length> <color>`.

> How is it different than this?

```css
padding: 1px;
--some-shorthand: 10px black;
```

would give you a different result. 



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


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

Received on Friday, 14 October 2022 23:31:05 UTC