Re: [css-houdini-drafts] [css-properties-values-api] Substituting registered properties with var()

Right, we're not talking about Typed OM here. What we've got instead 
is that, per the grammar of --length-list (presumably `<length>+`), 
we're gonna substitute in some number of lengths. We know that's 
three, so the value we end up with is "<color> <length> <length> 
<length>", which is valid for box-shadow.

> Is there a reason we decided that typed properties can't fallback to
 untyped substitution? For example I think typed properties should 
still substitute into untyped custom properties? I remember we had a 
discussion around this back in Sydney in January but I don't remember 
the details.

I don't recall.  They should be able to sub into untyped properties; I
 imagine they'd get down-converted back into some equivalent token 
representation. This isn't well-specced.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
https://github.com/w3c/css-houdini-drafts/issues/321#issuecomment-252110414
 using your GitHub account

Received on Thursday, 6 October 2016 22:51:18 UTC