mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Canvas: implement rectangle drawing.
This commit is contained in:
parent
e4b620ea54
commit
5287cb7fba
34 changed files with 21 additions and 155 deletions
|
@ -1,5 +0,0 @@
|
|||
[2d.drawImage.path.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.drawImage.path]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.clearRect.path.html]
|
||||
type: testharness
|
||||
[clearRect does not affect the current path]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.fillRect.path.html]
|
||||
type: testharness
|
||||
[fillRect does not affect the current path]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.strokeRect.path.html]
|
||||
type: testharness
|
||||
[strokeRect does not affect the current path]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.gradient.interpolate.zerosize.fill.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.gradient.interpolate.zerosize.fill]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.arcTo.shape.curve1.html]
|
||||
type: testharness
|
||||
[arcTo() curves in the right kind of shape]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.arcTo.shape.curve2.html]
|
||||
type: testharness
|
||||
[arcTo() curves in the right kind of shape]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.beginPath.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.beginPath]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.fill.overlap.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.fill.overlap]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.moveTo.basic.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.moveTo.basic]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.basic.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.basic]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.closed.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.closed]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.end.1.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.end.1]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.end.2.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.end.2]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.negative.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.negative]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.newsubpath.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.newsubpath]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.nonfinite.html]
|
||||
type: testharness
|
||||
[rect() with Infinity/NaN is ignored]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.selfintersect.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.selfintersect]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.winding.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.winding]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.zero.1.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.zero.1]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.zero.2.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.zero.2]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.zero.3.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.zero.3]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.zero.4.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.zero.4]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.zero.5.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.zero.5]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.rect.zero.6.html]
|
||||
type: testharness
|
||||
[Canvas test: 2d.path.rect.zero.6]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.stroke.prune.rect.html]
|
||||
type: testharness
|
||||
[Zero-length line segments from rect and strokeRect are removed before stroking]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.path.transformation.multiple.html]
|
||||
type: testharness
|
||||
[Transformations are applied while building paths, not when drawing]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.imageData.put.path.html]
|
||||
type: testharness
|
||||
[putImageData() does not affect the current path]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[2d.state.saverestore.path.html]
|
||||
type: testharness
|
||||
[save()/restore() does not affect the current path]
|
||||
expected: FAIL
|
||||
|
|
@ -6993,9 +6993,6 @@
|
|||
[CanvasRenderingContext2D interface: operation arcTo(unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: operation rect(unrestricted double,unrestricted double,unrestricted double,unrestricted double)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: operation arc(unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,boolean)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7191,12 +7188,6 @@
|
|||
[CanvasRenderingContext2D interface: calling arcTo(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
|
||||
|
||||
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "rect" with the proper type (77)]
|
||||
expected: FAIL
|
||||
|
||||
[CanvasRenderingContext2D interface: calling rect(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 "ellipse" with the proper type (79)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue