Canvas: added miterLimit support.

This commit is contained in:
Mátyás Mustoha 2015-04-09 10:20:55 +02:00
parent 74afd086d2
commit 93fa9e607a
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

@ -7005,9 +7005,6 @@
[CanvasRenderingContext2D interface: attribute lineJoin]
expected: FAIL
[CanvasRenderingContext2D interface: attribute miterLimit]
expected: FAIL
[CanvasRenderingContext2D interface: operation setLineDash([object Object\])]
expected: FAIL
@ -7215,9 +7212,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