mirror of
https://github.com/servo/servo.git
synced 2025-08-26 07:38:21 +01:00
Implementing canvas drawImage API for HTML Canvas elements as image source
This commit is contained in:
parent
2a9f29f382
commit
e3f5a76baa
44 changed files with 1567 additions and 118 deletions
|
@ -1,5 +0,0 @@
|
|||
[2d.drawImage.canvas.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.drawImage.canvas]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[2d.drawImage.null.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.drawImage.null]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.drawImage.self.1.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.drawImage.self.1]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.drawImage.self.2.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.drawImage.self.2]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[2d.drawImage.wrongtype.html]
|
||||
type: testharness
|
||||
[Incorrect image types in drawImage do not match any defined overloads, so WebIDL throws a TypeError]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[imagesmoothing.html]
|
||||
type: testharness
|
||||
[When the CanvasRenderingContext2D object is created, the attribute must be set to true.]
|
||||
expected: FAIL
|
||||
|
|
@ -6975,9 +6975,6 @@
|
|||
[CanvasRenderingContext2D interface: attribute globalCompositeOperation]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: attribute imageSmoothingEnabled]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: operation createPattern(CanvasImageSource,DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7056,9 +7053,6 @@
|
|||
[CanvasRenderingContext2D interface: operation drawImage(CanvasImageSource,unrestricted double,unrestricted double,unrestricted double,unrestricted double)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: operation drawImage(CanvasImageSource,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: operation addHitRegion(HitRegionOptions)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7152,9 +7146,6 @@
|
|||
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "globalCompositeOperation" with the proper type (14)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "imageSmoothingEnabled" with the proper type (15)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "strokeStyle" with the proper type (16)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7281,21 +7272,9 @@
|
|||
[CanvasRenderingContext2D interface: calling measureText(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 "drawImage" with the proper type (49)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: calling drawImage(CanvasImageSource,unrestricted double,unrestricted 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 "drawImage" with the proper type (50)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: calling drawImage(CanvasImageSource,unrestricted double,unrestricted double,unrestricted double,unrestricted 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 "drawImage" with the proper type (51)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: calling drawImage(CanvasImageSource,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue