[css-houdini-drafts] [css-typed-om] have a note saying when CSSTransformValue.toMatrix() doesn't work

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

== [css-typed-om] have a note saying when CSSTransformValue.toMatrix() doesn't work ==
The definition of [CSSTransformValue.toMatrix()](https://drafts.css-houdini.org/css-typed-om-1/#dom-csstransformvalue-tomatrix) has technical prose:

> As the entries of such a matrix are defined relative to the px unit, if any <length>s in func involved in generating the matrix are not compatible units with px, throw a TypeError.

that says that the function will sometimes throw.  But it's probably worth adding a note to make this clearer: it will happen when there is use of [relative lengths](https://drafts.csswg.org/css-values-4/#relative-lengths) or [percentages](https://drafts.csswg.org/css-transforms/#transform-functions) in transform functions.

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

Received on Tuesday, 30 January 2018 18:35:43 UTC