[css-houdini-drafts] [css-typed-om] algorithm for coercing value doesn't describe how to check grammar

dbaron has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om] algorithm for coercing value doesn't describe how to check grammar ==
The spec describes an [algorithm that coerces value into an appropriate type for a given property](https://drafts.css-houdini.org/css-typed-om-1/#algorithm-that-coerces-value-into-an-appropriate-type-for-a-given-property).

It says:

> If value is a CSSStyleValue,
>
> If value does not match the grammar of a list-valued property iteration of property, throw a TypeError and exit this algorithm. Otherwise, return the value.

But it doesn't say how to tell if a `CSSStyleValue` matches the grammar for a list-valued property iteration of the property.

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/566 using your GitHub account

Received on Friday, 26 January 2018 01:53:40 UTC