Implement Canvas pixel manipulation

This commit is contained in:
Edit Balint 2015-01-15 17:20:26 +01:00 committed by Josh Matthews
parent e68d6d2924
commit 325400dce4
14 changed files with 305 additions and 84 deletions

View file

@ -7107,21 +7107,12 @@
[CanvasRenderingContext2D interface: operation removeHitRegion(DOMString)]
expected: FAIL
[CanvasRenderingContext2D interface: operation createImageData(double,double)]
expected: FAIL
[CanvasRenderingContext2D interface: operation createImageData(ImageData)]
expected: FAIL
[CanvasRenderingContext2D interface: operation getImageData(double,double,double,double)]
expected: FAIL
[CanvasRenderingContext2D interface: operation putImageData(ImageData,double,double)]
expected: FAIL
[CanvasRenderingContext2D interface: operation putImageData(ImageData,double,double,double,double,double,double)]
expected: FAIL
[CanvasRenderingContext2D interface: attribute lineWidth]
expected: FAIL
@ -7425,36 +7416,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 "createImageData" with the proper type (54)]
expected: FAIL
[CanvasRenderingContext2D interface: calling createImageData(double,double) 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 "createImageData" with the proper type (55)]
expected: FAIL
[CanvasRenderingContext2D interface: calling createImageData(ImageData) 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 "getImageData" with the proper type (56)]
expected: FAIL
[CanvasRenderingContext2D interface: calling getImageData(double,double,double,double) 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 "putImageData" with the proper type (57)]
expected: FAIL
[CanvasRenderingContext2D interface: calling putImageData(ImageData,double,double) 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 "putImageData" with the proper type (58)]
expected: FAIL
[CanvasRenderingContext2D interface: calling putImageData(ImageData,double,double,double,double,double,double) 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
@ -7626,27 +7587,9 @@
[TextMetrics interface: attribute ideographicBaseline]
expected: FAIL
[ImageData interface: existence and properties of interface object]
expected: FAIL
[ImageData interface object length]
expected: FAIL
[ImageData interface: existence and properties of interface prototype object]
expected: FAIL
[ImageData interface: existence and properties of interface prototype object\'s "constructor" property]
expected: FAIL
[ImageData interface: attribute width]
expected: FAIL
[ImageData interface: attribute height]
expected: FAIL
[ImageData interface: attribute data]
expected: FAIL
[DrawingStyle interface: existence and properties of interface object]
expected: FAIL

View file

@ -1,5 +0,0 @@
[initial.colour.html]
type: testharness
[Initial state is transparent black]
expected: FAIL

View file

@ -9,9 +9,6 @@
[The MessageChannel interface object should be exposed.]
expected: FAIL
[The ImageData interface object should be exposed.]
expected: FAIL
[The FileList interface object should be exposed.]
expected: FAIL