From 1bbee925a5536cdb34db24acc2dae0459d152827 Mon Sep 17 00:00:00 2001 From: nainar Date: Wed, 31 Jan 2018 11:28:29 +1100 Subject: [PATCH] Clarify when CSSTransformValue.toMatrix() throws TypeError Fixes #608 --- css-typed-om/Overview.bs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css-typed-om/Overview.bs b/css-typed-om/Overview.bs index c89661b0..7606fe7d 100644 --- a/css-typed-om/Overview.bs +++ b/css-typed-om/Overview.bs @@ -80,6 +80,7 @@ spec:css-syntax-3; spec:css-values-4; type:type; text: type:value; text:in + type:dfn; text:relative length spec:infra; type: dfn; text: list @@ -2021,8 +2022,8 @@ is a [=list=] of {{CSSTransformComponent}}s. As the entries of such a matrix are defined relative to the ''px'' unit, if any <>s in |func| involved in generating the matrix - are not [=compatible units=] with ''px'', - [=throw=] a {{TypeError}}. + are not [=compatible units=] with ''px'', i.e. they are neither + [=relative lengths=] nor <>, [=throw=] a {{TypeError}}. 2. Set |matrix| to the result of multiplying |matrix| and |funcMatrix|. 3. If |func|’s {{CSSTransformComponent/is2D}} internal slot is `false`,