Bug
1690609 [wpt PR 27462] - Add some 3d rotation methods to CanvasRenderingContext2D, a=testonly
Automatic update from web-platform-tests
Add some 3d rotation methods to CanvasRenderingContext2D
rotate3d and rotateAxis as described here: https://github.com/fserb/canvas2D/blob/master/spec/perspective-transforms.md
An ApplyTransform() method is also added to BaseRenderingContext2D to DRY up the code.
Bug:
1140535
Change-Id: I7db7871f7d7bd3e9578854563c9d3f63f7855905
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2668448
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Aaron Krajeski <aaronhk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851955}
--
wpt-commits:
afc6477fb37ca4b0663a3b418681d7554dd9be8d
wpt-pr: 27462