Re: [csswg-drafts] [css-values] Add `valid-empty`-like value (for CSS Custom Properties) (#10441)

> Or it could be syntactically distinct from other keywords somehow.

@LeaVerou This one is interesting as well and opens other possibilities. Any ideas what would be syntactically possible?

What I like about @kizu’s suggestion `valid-empty` (as opposed to `guaranteed-valid`) is that the spec describes values being [`guaranteed-invalid`](https://www.w3.org/TR/css-variables-1/#guaranteed-invalid) and not the value itself. In this understanding the `--foo: ;` and `--foo: valid-empty;` keyword would be a `guaranteed-valid` values.


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


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

Received on Thursday, 13 June 2024 12:21:40 UTC