Re: [fxtf-drafts] Consider using Typed Arrays for matrices and static transform operations

This seems interesting but I think we should somehow keep compatibility with web content that uses `WebKitCSSMatrix`. That could be done by renaming `DOMMatrix` to `WebKitCSSMatrix` and specifying a new `DOMMatrix` that just has static operations for typed arrays... or we could add static operations to `DOMMatrix` as well.

`DOMMatrix` currently has `fromFloat32Array()` and `fromFloat64Array()` statics (and corresponding `to*` operations). In your proposal would it return a `Float64Array` if a `Float64Array` is passed in?

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/123#issuecomment-291472901 using your GitHub account

Received on Tuesday, 4 April 2017 11:32:31 UTC