Re: [css-houdini-drafts] TypedOM returning an array of strings isn't a helpful behavior

> If we have typing information for all the variables in a property, 
we should be able to go ahead and do a full grammar 
match/decomposition, and then present you with the full normal Typed 
OM value you'd get without variables; some of the leaf values would 
just be vars rather than the expected type, is all.

Even that is hard - for example calc(var(--foo) + var(--bar)) can't 
simply represent the variables as leaf nodes even if --foo and --bar 
are guaranteed to be lengths, because the units are unknown. It's 
something we can look at though.

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

Received on Tuesday, 24 May 2016 22:40:06 UTC