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

> [@andruud](https://github.com/andruud)
> 
> > @property {
> >   syntax: "<length>";
> >   inherits: false;
> >   initial-value: 2147483647px;
> >   --width: initial; /* 2147483647px */
> >   --height: initial; /* 2147483647px */
> >   --depth: 0px;
> > }
> 
> I found this _incredibly_ confusing to understand. At first it looked like these were local variables to compute the initial value. 

@LeaVerou: What if were `--width: initial-value` instead of `--width: initial`? Or simply no value (i.e. `--width;`)?

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7523#issuecomment-3611465896 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:46:17 UTC