- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Mon, 24 Sep 2018 09:06:33 +0000
- To: public-houdini-archive@w3.org
andruud has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-properties-values-api] Fallbacks for registered properties == Not necessarily a spec issue, I just need a clarification: do fallbacks (as specified by the `var()` reference) for registered properties ever trigger? E.g. can ` foo` ever been substituted here? ``` --unreg: var(--reg-length, foo); ``` And what about: ``` --reg-length: 10em; font-size: var(--reg-length, 100px); ``` In Blink, I've implemented the latter such that the fallback (`100px`) is triggered, but now I wonder if it's more consistent that `var(--reg-length, 100px)` is substituted with the initial/inherited value of `--reg-length`. I.e. the computed value of `font-size` becomes the initial/inherited value of `--reg-length`, and the computed value of `--reg-length` becomes 10 x initial/inherited. Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/821 using your GitHub account
Received on Monday, 24 September 2018 09:06:35 UTC