Canvas: implement transformation matrix rotation.

This commit is contained in:
Mátyás Mustoha 2015-05-05 13:03:34 +02:00
parent 7b87085c18
commit e3e2119c4c
10 changed files with 15 additions and 45 deletions

View file

@ -1,5 +0,0 @@
[2d.transformation.order.html]
type: testharness
[Transformations are applied in the right order]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.transformation.rotate.direction.html]
type: testharness
[rotate() is clockwise]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.transformation.rotate.nonfinite.html]
type: testharness
[rotate() with Infinity/NaN is ignored]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.transformation.rotate.radians.html]
type: testharness
[rotate() uses radians]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.transformation.rotate.wrap.html]
type: testharness
[rotate() wraps large positive values correctly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.transformation.rotate.wrapnegative.html]
type: testharness
[rotate() wraps large negative values correctly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.transformation.rotate.zero.html]
type: testharness
[rotate() by 0 does nothing]
expected: FAIL

View file

@ -6828,9 +6828,6 @@
[CanvasRenderingContext2D interface: attribute currentTransform]
expected: FAIL
[CanvasRenderingContext2D interface: operation rotate(unrestricted double)]
expected: FAIL
[CanvasRenderingContext2D interface: operation resetTransform()]
expected: FAIL
@ -6960,12 +6957,6 @@
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "currentTransform" with the proper type (6)]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "rotate" with the proper type (8)]
expected: FAIL
[CanvasRenderingContext2D interface: calling rotate(unrestricted double) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "resetTransform" with the proper type (12)]
expected: FAIL