Auto merge of #5613 - mmatyas:canvas_miterlimit, r=jdm

This exposes some other canvas tests which were marked as PASS before. Two strokeRect related tests are fixed by #5612, and lineCap/lineJoin will have an implementation soon.
This commit is contained in:
bors-servo 2015-04-09 09:37:44 -05:00
commit 325899bfad
15 changed files with 38 additions and 48 deletions

View file

@ -0,0 +1,5 @@
[2d.strokeRect.zero.4.html]
type: testharness
[strokeRect of Nx0 pixels draws a closed line with no caps]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.strokeRect.zero.5.html]
type: testharness
[strokeRect of Nx0 pixels draws a closed line with joins]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.line.cap.closed.html]
type: testharness
[Line caps are not drawn at the corners of an unclosed rectangle]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.line.join.bevel.html]
type: testharness
[lineJoin \'bevel\' is rendered correctly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.line.join.closed.html]
type: testharness
[Line joins are drawn at the corner of a closed rectangle]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.line.join.miter.html]
type: testharness
[lineJoin \'miter\' is rendered correctly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.line.miter.acute.html]
type: testharness
[Miter joins are drawn correctly with acute angles]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.line.miter.invalid.html]
type: testharness
[Setting miterLimit to invalid values is ignored]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.line.miter.obtuse.html]
type: testharness
[Miter joins are drawn correctly with obtuse angles]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.line.miter.valid.html]
type: testharness
[Setting miterLimit to valid values works]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.line.miter.within.html]
type: testharness
[Miter joins are drawn when the miter limit is not quite exceeded]
expected: FAIL

View file

@ -6999,9 +6999,6 @@
[CanvasRenderingContext2D interface: attribute lineJoin]
expected: FAIL
[CanvasRenderingContext2D interface: attribute miterLimit]
expected: FAIL
[CanvasRenderingContext2D interface: operation setLineDash([object Object\])]
expected: FAIL
@ -7209,9 +7206,6 @@
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "lineJoin" with the proper type (61)]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "miterLimit" with the proper type (62)]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "setLineDash" with the proper type (63)]
expected: FAIL