commit | 233ec454166d493cfab7aa31a530b45e7c2f2956 | [log] [tgz] |
---|---|---|
author | hs1217.lee <hs1217.lee@samsung.com> | Mon Sep 12 15:27:09 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Sep 12 15:30:21 2016 |
tree | 2f47f7ec484c631539a8387d4149ddb15fe95fc8 | |
parent | 06d80348f0e49fe7558ee8b3adad6f56078b5842 [diff] |
[GeometryInterface] Add fromFloat32Array & fromFloat64Array function Return the result of invoking create a matrix of type DOMMatrixReadOnly or DOMMatrix as appropriate, with a sequence of numbers taking the values from Float32Array or Float64Array in the provided order. If array has 6 elements, Return a 2d matrix. If array has 16 elements, Return a 3d matrix. Otherwise, Throw a TypeError exception. spec list: https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-fromfloat32array https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-fromfloat64array https://drafts.fxtf.org/geometry/#dom-dommatrix-fromfloat32array https://drafts.fxtf.org/geometry/#dom-dommatrix-fromfloat64array BUG=388780 Review-Url: https://codereview.chromium.org/2309013002 Cr-Commit-Position: refs/heads/master@{#417943}