Enable 2dcontext tests.

This commit is contained in:
Ms2ger 2015-02-23 13:50:24 +01:00
parent 2e1adb3fa6
commit fdfcd7590a
559 changed files with 2805 additions and 0 deletions

View file

@ -0,0 +1,5 @@
[2d.path.arc.angle.1.html]
type: testharness
[arc() draws pi/2 .. -pi anticlockwise correctly]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arc.angle.2.html]
type: testharness
[arc() draws -3pi/2 .. -pi anticlockwise correctly]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arc.angle.3.html]
type: testharness
[arc() wraps angles mod 2pi when anticlockwise and end > start+2pi]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arc.angle.5.html]
type: testharness
[arc() wraps angles mod 2pi when clockwise and start > end+2pi]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arc.default.html]
type: testharness
[arc() with missing last argument defaults to clockwise]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arc.empty.html]
type: testharness
[arc() with an empty path does not draw a straight line to the start point]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arc.end.html]
type: testharness
[arc() adds the end point of the arc to the subpath]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arc.negative.html]
type: testharness
[arc() with negative radius throws INDEX_SIZE_ERR]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arc.nonempty.html]
type: testharness
[arc() with a non-empty path does draw a straight line to the start point]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arc.shape.1.html]
type: testharness
[arc() from 0 to pi does not draw anything in the wrong half]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arc.shape.3.html]
type: testharness
[arc() from 0 to -pi/2 does not draw anything in the wrong quadrant]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arc.shape.5.html]
type: testharness
[arc() from 0 to 5pi does not draw crazy things]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arc.zero.1.html]
type: testharness
[arc() draws nothing when startAngle = endAngle and anticlockwise]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arc.zero.2.html]
type: testharness
[arc() draws nothing when startAngle = endAngle and clockwise]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arc.zeroradius.html]
type: testharness
[arc() with zero radius draws a line to the start point]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.coincide.2.html]
type: testharness
[arcTo() draws a straight line to P1 if P1 = P2]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.collinear.1.html]
type: testharness
[arcTo() with all points on a line, and P1 between P0/P2, draws a straight line to P1]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.collinear.2.html]
type: testharness
[arcTo() with all points on a line, and P2 between P0/P1, draws a straight line to P1]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.collinear.3.html]
type: testharness
[arcTo() with all points on a line, and P0 between P1/P2, draws a straight line to P1]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.ensuresubpath.1.html]
type: testharness
[If there is no subpath, the first control point is added (and nothing is drawn up to it)]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.negative.html]
type: testharness
[arcTo() with negative radius throws an exception]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.scale.html]
type: testharness
[arcTo scales the curve, not just the control points]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.shape.curve1.html]
type: testharness
[arcTo() curves in the right kind of shape]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.shape.curve2.html]
type: testharness
[arcTo() curves in the right kind of shape]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.shape.end.html]
type: testharness
[arcTo() does not draw anything from P1 to P2]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.transformation.html]
type: testharness
[arcTo joins up to the last subpath point correctly]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.arcTo.zero.2.html]
type: testharness
[arcTo() with zero radius draws a straight line from P0 to P1, even when all points are collinear]
expected: FAIL

View file

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

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.bezierCurveTo.ensuresubpath.1.html]
type: testharness
[If there is no subpath, the first control point is added (and nothing is drawn up to it)]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.fill.winding.subtract.3.html]
type: testharness
[Canvas test: 2d.path.fill.winding.subtract.3]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.arc.html]
type: testharness
[isPointInPath() works on arcs]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.basic.1.html]
type: testharness
[isPointInPath() detects whether the point is inside the path]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.basic.2.html]
type: testharness
[isPointInPath() detects whether the point is inside the path]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.bezier.html]
type: testharness
[isPointInPath() works on Bezier curves]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.bigarc.html]
type: testharness
[isPointInPath() works on unclosed arcs larger than 2pi]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.edge.html]
type: testharness
[isPointInPath() counts points on the path as being inside]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.empty.html]
type: testharness
[isPointInPath() works when there is no path]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.nonfinite.html]
type: testharness
[isPointInPath() returns false for non-finite arguments]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.outside.html]
type: testharness
[isPointInPath() works on paths outside the canvas]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.subpath.html]
type: testharness
[isPointInPath() uses the current path, not just the subpath]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.transform.1.html]
type: testharness
[isPointInPath() handles transformations correctly]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.transform.2.html]
type: testharness
[isPointInPath() handles transformations correctly]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.transform.3.html]
type: testharness
[isPointInPath() handles transformations correctly]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.transform.4.html]
type: testharness
[isPointInPath() handles transformations correctly]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.unclosed.html]
type: testharness
[isPointInPath() works on unclosed subpaths]
expected: FAIL

View file

@ -0,0 +1,5 @@
[2d.path.isPointInPath.winding.html]
type: testharness
[isPointInPath() uses the non-zero winding number rule]
expected: FAIL

View file

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

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.lineTo.ensuresubpath.2.html]
type: testharness
[If there is no subpath, the point is added and used for subsequent drawing]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -0,0 +1,5 @@
[2d.path.quadraticCurveTo.ensuresubpath.1.html]
type: testharness
[If there is no subpath, the first control point is added (and nothing is drawn up to it)]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

Some files were not shown because too many files have changed in this diff Show more