Re: [css-houdini-drafts] [css-typed-om] CSSTokenStreamValue

Sure, the reason is that the spec currently isn't complete. Level 1 
will only support a subset of CSS Values.

As we add more and more values in subsequent levels, things will have 
to change from being CSSUnparsedValue to being CSSXyzabcValue. While 
we are doing so, we cannot break behaviors that expected the old 
shape. If the old shape is an Array, we would need to keep it an 
array, which would prevent us from returning an actual CSSValue, which
 would be really weird. Authors should be able to expect any css value
 to be an instanceof CSSValue, not just the Level 1 ones.

At least that is my understanding of it, anyone feel free to correct 
me.

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

Received on Friday, 12 August 2016 22:48:51 UTC