[css-houdini-drafts] [css-properties-values-api] When can reifying a registered prop's value ever hit step 7? (#897)

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

== [css-properties-values-api] When can reifying a registered prop's value ever hit step 7? ==
Currently, step 7 of the computed-value reifying algorithm <https://drafts.css-houdini.org/css-properties-values-api/#reify-a-registered-custom-property-value> says to reify as a CSSStyleValue, if all the previous steps failed.

This isn't correct as-is (it needs to specify what property it's for), but also, I'm not sure how it could ever hit that case in the first place. Step 6 catches if it's a &lt;declaration-value> already, and since it's the value of a declaration that you're reifying, that seems to catch 100% of cases, right?

So I think instead we should delete step 7, and change step 6 to just be an "otherwise", without a further condition.

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

Received on Friday, 31 May 2019 19:15:19 UTC