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

@Loirooriol 

> CSS-wide keywords should work everywhere, would you accept color: valid-empty?

That is a good point tbh. Maybe only scoping the value keyword to custom properties `--` and `var()` as in `--foo: valid-empty;` or `var(--foo, valid-empty)`. Maybe could help with #9847 as well.

> I also don't get why you would want color: var(--foo, hotpink) to be IACVT instead of using the fallback.

Just to show the same behavior of an empty value string and `valid-empty` here, no practical reason.

@LeaVerou @kizu  Regarding dev tools, I get this tooltip behavior → 

![Screenie_2024-06-16-6oL6Jd5N@2x](https://github.com/w3c/csswg-drafts/assets/527631/43af2f6d-afdd-44af-bd4f-cc8a4610b5ad)

I am also not able to manually set `--bar:  ;` via the style inspector, but that may be a vendor issue.

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


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

Received on Sunday, 16 June 2024 07:07:52 UTC