Re: [csswg-drafts] Do the CSSOM part of #866 (#3109)

First, note that to set `--custom` you actually need `style.setProperty('--custom', 'b')`.

Then, `var(--custom)` is not known at specified-value time. So it doesn't matter if `--custom` is `b`, `c` or whatever: what will happen is that the longhand is set to a [pending-substitution value](https://drafts.csswg.org/css-variables-1/#pending-substitution-value), which serializes as the empty string.

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


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

Received on Tuesday, 8 November 2022 20:16:39 UTC