[css-houdini-drafts] [CSS Typed OM] What should CSSTransformValue's matrix if one of the components contains a relative length?

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

== [CSS Typed OM] What should CSSTransformValue's matrix if one of the components contains a relative length? ==
https://drafts.css-houdini.org/css-typed-om/#dom-csstransformvalue-tomatrix

For example, what if we have a CSSPerspective containing a relative length (which seems to be allowed here: https://drafts.css-houdini.org/css-typed-om/#cssperspective)?
```javascript
let t = new CSSTransformValue([new CSSPerspective(CSS.em(10))]);
t.toMatrix() // ??
```

Should the font size be the font size at the root element in the document?
Likewise for vh/vw/vmax/vmin?

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

Received on Wednesday, 28 June 2017 09:10:47 UTC