Canvas: added lineCap and lineJoin support.

This commit is contained in:
Mátyás Mustoha 2015-04-10 13:11:28 +02:00
parent 43d476eb2b
commit ccfff159e7
18 changed files with 109 additions and 67 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,5 +0,0 @@
[2d.line.defaults.html]
type: testharness
[Canvas test: 2d.line.defaults]
expected: FAIL

View file

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

View file

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

View file

@ -1,5 +0,0 @@
[2d.line.join.parallel.html]
type: testharness
[Line joins are drawn at 180-degree joins]
expected: FAIL

View file

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

View file

@ -6993,12 +6993,6 @@
[CanvasRenderingContext2D interface: operation putImageData(ImageData,double,double)]
expected: FAIL
[CanvasRenderingContext2D interface: attribute lineCap]
expected: FAIL
[CanvasRenderingContext2D interface: attribute lineJoin]
expected: FAIL
[CanvasRenderingContext2D interface: operation setLineDash([object Object\])]
expected: FAIL
@ -7200,12 +7194,6 @@
[CanvasRenderingContext2D interface: calling removeHitRegion(DOMString) 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 "lineCap" with the proper type (60)]
expected: FAIL
[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 "setLineDash" with the proper type (63)]
expected: FAIL