[css-houdini-drafts] [css-typed-om] definition of CSSMathValue.equals() should be a little clearer

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

== [css-typed-om] definition of CSSMathValue.equals() should be a little clearer ==
The [definition of CSSMathValue.equals()](https://drafts.css-houdini.org/css-typed-om-1/#dom-cssnumericvalue-equals) seems to lack a bit of formality in the final step.  In particular, the final step currently begins with:

> If all items in thisAndValues are of type CSSMathValue:

and then has two options that require iterating over a bunch of values.

The text doesn't actually say how to take this iteration and produce a single result (true or false) from the equals function.  It probably should.

It also feels like the wording could be clearer in other ways, e.g., in terms of describing what exactly is being iterated over and how many recursive calls to the algorithm are made.

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

Received on Sunday, 28 January 2018 05:49:08 UTC