Implement IsPointInPath

This commit is contained in:
David Zbarsky 2015-11-28 20:03:17 -08:00
parent 2af23dc061
commit 789a90a82f
23 changed files with 71 additions and 128 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -5,3 +5,4 @@
[XMLHttpRequest: send() - Content-Type 2]
expected: FAIL

View file

@ -6024,12 +6024,6 @@
[CanvasRenderingContext2D interface: operation resetClip()]
expected: FAIL
[CanvasRenderingContext2D interface: operation isPointInPath(unrestricted double,unrestricted double,CanvasFillRule)]
expected: FAIL
[CanvasRenderingContext2D interface: operation isPointInPath(Path2D,unrestricted double,unrestricted double,CanvasFillRule)]
expected: FAIL
[CanvasRenderingContext2D interface: operation isPointInStroke(unrestricted double,unrestricted double)]
expected: FAIL
@ -6129,18 +6123,6 @@
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "resetClip" with the proper type (41)]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "isPointInPath" with the proper type (42)]
expected: FAIL
[CanvasRenderingContext2D interface: calling isPointInPath(unrestricted double,unrestricted double,CanvasFillRule) 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 "isPointInPath" with the proper type (43)]
expected: FAIL
[CanvasRenderingContext2D interface: calling isPointInPath(Path2D,unrestricted double,unrestricted double,CanvasFillRule) 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 "isPointInStroke" with the proper type (44)]
expected: FAIL