[svgwg] SVGTransform's setMatrix method should take a DOMMatrixInit

zcorpan has just created a new issue for https://github.com/w3c/svgwg:

== SVGTransform's setMatrix method should take a DOMMatrixInit ==
https://svgwg.org/svg2-draft/coords.html#InterfaceSVGTransform

```
void setMatrix(DOMMatrixReadOnly matrix);
```

This should be

```
void setMatrix(optional DOMMatrixInit matrix);
```

The prose can then invoke https://drafts.fxtf.org/geometry/#create-a-dommatrix-from-the-dictionary if you want an actual `DOMMatrix` to work with, but working with a dictionary works as well. In the latter case, https://drafts.fxtf.org/geometry/#matrix-validate-and-fixup should be invoked on the dictionary first.

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/326 using your GitHub account

Received on Thursday, 15 June 2017 06:02:15 UTC