Auto merge of #5562 - mmatyas:canvas_linewidth, r=jdm

Rebase of #5488
This commit is contained in:
bors-servo 2015-04-08 00:56:37 -05:00
commit f57b487e4d
27 changed files with 52 additions and 111 deletions

View file

@ -1,5 +0,0 @@
[2d.strokeRect.basic.html]
type: testharness
[strokeRect works]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.strokeRect.globalalpha.html]
type: testharness
[strokeRect is affected by globalAlpha]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.strokeRect.globalcomposite.html]
type: testharness
[strokeRect is not affected by globalCompositeOperation]
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.union.html]
type: testharness
[Canvas test: 2d.line.union]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.line.width.basic.html]
type: testharness
[lineWidth determines the width of line strokes]
expected: FAIL

View file

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

View file

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

View file

@ -1,5 +0,0 @@
[2d.path.arc.scale.2.html]
type: testharness
[Highly scaled arcs are the right shape]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.selfintersect.2.html]
type: testharness
[arc() with lineWidth > 2*radius is drawn sensibly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.shape.2.html]
type: testharness
[arc() from 0 to pi draws stuff in the right half]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.shape.4.html]
type: testharness
[arc() from 0 to -pi/2 draws stuff in the right quadrant]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.twopie.2.html]
type: testharness
[arc() draws a full circle when end = start + 2pi-e and clockwise]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.twopie.3.html]
type: testharness
[arc() draws a full circle when end = start + 2pi+e and anticlockwise]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.twopie.4.html]
type: testharness
[arc() draws nothing when end = start + 2pi+e and clockwise]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.coincide.1.html]
type: testharness
[arcTo() has no effect if P0 = P1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.shape.start.html]
type: testharness
[arcTo() draws a straight line from P0 to P1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.bezierCurveTo.ensuresubpath.2.html]
type: testharness
[If there is no subpath, the first control point is added]
expected: FAIL

View file

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

View file

@ -1,5 +0,0 @@
[2d.path.quadraticCurveTo.ensuresubpath.2.html]
type: testharness
[If there is no subpath, the first control point is added]
expected: FAIL

View file

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

View file

@ -1,5 +0,0 @@
[2d.path.stroke.overlap.html]
type: testharness
[Stroked subpaths are combined before being drawn]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.stroke.union.html]
type: testharness
[Strokes in opposite directions are unioned, not subtracted]
expected: FAIL

View file

@ -7026,9 +7026,6 @@
[CanvasRenderingContext2D interface: operation putImageData(ImageData,double,double)]
expected: FAIL
[CanvasRenderingContext2D interface: attribute lineWidth]
expected: FAIL
[CanvasRenderingContext2D interface: attribute lineCap]
expected: FAIL
@ -7242,9 +7239,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 "lineWidth" with the proper type (59)]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "lineCap" with the proper type (60)]
expected: FAIL