- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 20 Aug 2020 23:11:28 +0000
- To: public-css-archive@w3.org
Currently it's not undefined, it just doesn't do what you probably want, as it subs in the literal keyword "inherit" which is almost never valid. That said, if it's okay implementation-wise, I'm fine with triggering the other global-keyword behaviors, since we can already trigger inherit/initial via IACVT. We have to be a little stricter that this only occurs if the `var()` is the sole value of the property - is that okay? It would also mean that there's some behaviors that are *only* obtainable via `var()` fallback, not as the value of a variable. To get a variable to be able to contain global keywords, we'd have to do some minor hackery; I don't think it's that important, but still. I suppose that's already true with things like subbing in another variable's value for the fallback; to get this behavior as a first-class value, we'd need to add delayed evaluation for variables. I have a proposal for that tucked away, but I don't think it's worth bringing out right now, and anyway, it won't interfere with resolving this issue in the simple way. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5325#issuecomment-677950762 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 20 August 2020 23:11:30 UTC