diff --git a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.arc-expected.html b/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.arc-expected.html deleted file mode 100644 index 7c0faba5859584..00000000000000 --- a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.arc-expected.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Canvas test: 2d.path.stroke.prune.closePath.arc -

2d.path.stroke.prune.closePath.arc

-

Test if zero-lengthed closePath before and after arc are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.arc.html b/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.arc.html deleted file mode 100644 index 4b1d0692758817..00000000000000 --- a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.arc.html +++ /dev/null @@ -1,35 +0,0 @@ - - - -Canvas test: 2d.path.stroke.prune.closePath.arc -

2d.path.stroke.prune.closePath.arc

-

Test if zero-lengthed closePath before and after arc are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.bezierCurve-expected.html b/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.bezierCurve-expected.html deleted file mode 100644 index 4b867f821fa70f..00000000000000 --- a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.bezierCurve-expected.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Canvas test: 2d.path.stroke.prune.closePath.bezierCurve -

2d.path.stroke.prune.closePath.bezierCurve

-

Test if zero-lengthed closePath before and after bezier curve are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.bezierCurve.html b/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.bezierCurve.html deleted file mode 100644 index 2c974bd2740e25..00000000000000 --- a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.bezierCurve.html +++ /dev/null @@ -1,35 +0,0 @@ - - - -Canvas test: 2d.path.stroke.prune.closePath.bezierCurve -

2d.path.stroke.prune.closePath.bezierCurve

-

Test if zero-lengthed closePath before and after bezier curve are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.line-expected.html b/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.line-expected.html deleted file mode 100644 index 87a99c79380036..00000000000000 --- a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.line-expected.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Canvas test: 2d.path.stroke.prune.closePath.line -

2d.path.stroke.prune.closePath.line

-

Test if zero-lengthed closePath before and after line are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.line.html b/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.line.html deleted file mode 100644 index 655b2e12fda4fa..00000000000000 --- a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.line.html +++ /dev/null @@ -1,35 +0,0 @@ - - - -Canvas test: 2d.path.stroke.prune.closePath.line -

2d.path.stroke.prune.closePath.line

-

Test if zero-lengthed closePath before and after line are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.quadraticCurve-expected.html b/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.quadraticCurve-expected.html deleted file mode 100644 index 03635b01483857..00000000000000 --- a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.quadraticCurve-expected.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Canvas test: 2d.path.stroke.prune.closePath.quadraticCurve -

2d.path.stroke.prune.closePath.quadraticCurve

-

Test if zero-lengthed closePath before and after quadratic curve are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.quadraticCurve.html b/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.quadraticCurve.html deleted file mode 100644 index 9066770e2213d7..00000000000000 --- a/html/canvas/element/path-objects/2d.path.stroke.prune.closePath.quadraticCurve.html +++ /dev/null @@ -1,35 +0,0 @@ - - - -Canvas test: 2d.path.stroke.prune.closePath.quadraticCurve -

2d.path.stroke.prune.closePath.quadraticCurve

-

Test if zero-lengthed closePath before and after quadratic curve are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.arc-expected.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.arc-expected.html deleted file mode 100644 index 7c0faba5859584..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.arc-expected.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Canvas test: 2d.path.stroke.prune.closePath.arc -

2d.path.stroke.prune.closePath.arc

-

Test if zero-lengthed closePath before and after arc are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.arc.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.arc.html deleted file mode 100644 index aeff5bfd400aaa..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.arc.html +++ /dev/null @@ -1,38 +0,0 @@ - - - -Canvas test: 2d.path.stroke.prune.closePath.arc -

2d.path.stroke.prune.closePath.arc

-

Test if zero-lengthed closePath before and after arc are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.arc.w.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.arc.w.html deleted file mode 100644 index f10836239f4c6b..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.arc.w.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - -Canvas test: 2d.path.stroke.prune.closePath.arc -

2d.path.stroke.prune.closePath.arc

-

Test if zero-lengthed closePath before and after arc are ignored corrected.

- -

FAIL (fallback content)

-
- - - diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.bezierCurve-expected.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.bezierCurve-expected.html deleted file mode 100644 index 4b867f821fa70f..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.bezierCurve-expected.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Canvas test: 2d.path.stroke.prune.closePath.bezierCurve -

2d.path.stroke.prune.closePath.bezierCurve

-

Test if zero-lengthed closePath before and after bezier curve are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.bezierCurve.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.bezierCurve.html deleted file mode 100644 index 09d3152a5e7183..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.bezierCurve.html +++ /dev/null @@ -1,38 +0,0 @@ - - - -Canvas test: 2d.path.stroke.prune.closePath.bezierCurve -

2d.path.stroke.prune.closePath.bezierCurve

-

Test if zero-lengthed closePath before and after bezier curve are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.bezierCurve.w.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.bezierCurve.w.html deleted file mode 100644 index 66f15eb3f1652b..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.bezierCurve.w.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - -Canvas test: 2d.path.stroke.prune.closePath.bezierCurve -

2d.path.stroke.prune.closePath.bezierCurve

-

Test if zero-lengthed closePath before and after bezier curve are ignored corrected.

- -

FAIL (fallback content)

-
- - - diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.line-expected.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.line-expected.html deleted file mode 100644 index 87a99c79380036..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.line-expected.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Canvas test: 2d.path.stroke.prune.closePath.line -

2d.path.stroke.prune.closePath.line

-

Test if zero-lengthed closePath before and after line are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.line.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.line.html deleted file mode 100644 index 5a020cce1718e1..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.line.html +++ /dev/null @@ -1,38 +0,0 @@ - - - -Canvas test: 2d.path.stroke.prune.closePath.line -

2d.path.stroke.prune.closePath.line

-

Test if zero-lengthed closePath before and after line are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.line.w.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.line.w.html deleted file mode 100644 index 860ad7036c904b..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.line.w.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - -Canvas test: 2d.path.stroke.prune.closePath.line -

2d.path.stroke.prune.closePath.line

-

Test if zero-lengthed closePath before and after line are ignored corrected.

- -

FAIL (fallback content)

-
- - - diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.quadraticCurve-expected.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.quadraticCurve-expected.html deleted file mode 100644 index 03635b01483857..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.quadraticCurve-expected.html +++ /dev/null @@ -1,25 +0,0 @@ - - -Canvas test: 2d.path.stroke.prune.closePath.quadraticCurve -

2d.path.stroke.prune.closePath.quadraticCurve

-

Test if zero-lengthed closePath before and after quadratic curve are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.quadraticCurve.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.quadraticCurve.html deleted file mode 100644 index 1d516710f2018e..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.quadraticCurve.html +++ /dev/null @@ -1,38 +0,0 @@ - - - -Canvas test: 2d.path.stroke.prune.closePath.quadraticCurve -

2d.path.stroke.prune.closePath.quadraticCurve

-

Test if zero-lengthed closePath before and after quadratic curve are ignored corrected.

- -

FAIL (fallback content)

-
- diff --git a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.quadraticCurve.w.html b/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.quadraticCurve.w.html deleted file mode 100644 index 5bbd27326374f2..00000000000000 --- a/html/canvas/offscreen/path-objects/2d.path.stroke.prune.closePath.quadraticCurve.w.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - -Canvas test: 2d.path.stroke.prune.closePath.quadraticCurve -

2d.path.stroke.prune.closePath.quadraticCurve

-

Test if zero-lengthed closePath before and after quadratic curve are ignored corrected.

- -

FAIL (fallback content)

-
- - - diff --git a/html/canvas/tools/yaml-new/path-objects.yaml b/html/canvas/tools/yaml-new/path-objects.yaml index 755d6fb8d54dce..b1754b9495dc77 100644 --- a/html/canvas/tools/yaml-new/path-objects.yaml +++ b/html/canvas/tools/yaml-new/path-objects.yaml @@ -2879,158 +2879,6 @@ @assert pixel 50,25 == 0,255,0,255; expected: green -- name: 2d.path.stroke.prune.closePath.line - desc: Test if zero-lengthed closePath before and after line are ignored corrected. - code: | - ctx.fillStyle = '#0f0'; - ctx.fillRect(0, 0, 100, 50); - - ctx.strokeStyle = '#f00'; - ctx.lineWidth = 10; - ctx.lineCap = 'round'; - ctx.lineJoin = 'round'; - - ctx.beginPath(); - ctx.moveTo(50, 25); - ctx.lineTo(50, 25); - ctx.closePath(); - - ctx.moveTo(10, 10); - ctx.lineTo(40, 40); - ctx.closePath(); - - ctx.moveTo(45, 45); - ctx.lineTo(45, 45); - ctx.closePath(); - ctx.stroke(); - reference: | - ctx.fillStyle = '#0f0'; - ctx.fillRect(0, 0, 100, 50); - - ctx.strokeStyle = '#f00'; - ctx.lineWidth = 10; - ctx.lineCap = 'round'; - ctx.lineJoin = 'round'; - - ctx.moveTo(10, 10); - ctx.lineTo(40, 40); - ctx.closePath(); - ctx.stroke(); - -- name: 2d.path.stroke.prune.closePath.bezierCurve - desc: Test if zero-lengthed closePath before and after bezier curve are ignored corrected. - code: | - ctx.fillStyle = '#0f0'; - ctx.fillRect(0, 0, 100, 50); - - ctx.strokeStyle = '#f00'; - ctx.lineWidth = 10; - ctx.lineCap = 'round'; - ctx.lineJoin = 'round'; - - ctx.beginPath(); - ctx.moveTo(5, 5); - ctx.lineTo(5, 5); - ctx.closePath(); - - ctx.moveTo(10, 10); - ctx.bezierCurveTo(10, 30, 40, 50, 100, 50); - ctx.closePath(); - - ctx.moveTo(20, 40); - ctx.lineTo(20, 40); - ctx.closePath(); - ctx.stroke(); - reference: | - ctx.fillStyle = '#0f0'; - ctx.fillRect(0, 0, 100, 50); - - ctx.strokeStyle = '#f00'; - ctx.lineWidth = 10; - ctx.lineCap = 'round'; - ctx.lineJoin = 'round'; - - ctx.moveTo(10, 10); - ctx.bezierCurveTo(10, 30, 40, 50, 100, 50); - ctx.closePath(); - ctx.stroke(); - -- name: 2d.path.stroke.prune.closePath.quadraticCurve - desc: Test if zero-lengthed closePath before and after quadratic curve are ignored corrected. - code: | - ctx.fillStyle = '#0f0'; - ctx.fillRect(0, 0, 100, 50); - - ctx.strokeStyle = '#f00'; - ctx.lineWidth = 10; - ctx.lineCap = 'round'; - ctx.lineJoin = 'round'; - - ctx.beginPath(); - ctx.moveTo(5, 5); - ctx.lineTo(5, 5); - ctx.closePath(); - - ctx.moveTo(10, 10); - ctx.quadraticCurveTo(80, 10, 100, 50); - ctx.closePath(); - - ctx.moveTo(40, 40); - ctx.lineTo(40, 40); - ctx.closePath(); - ctx.stroke(); - reference: | - ctx.fillStyle = '#0f0'; - ctx.fillRect(0, 0, 100, 50); - - ctx.strokeStyle = '#f00'; - ctx.lineWidth = 10; - ctx.lineCap = 'round'; - ctx.lineJoin = 'round'; - - ctx.moveTo(10, 10); - ctx.quadraticCurveTo(80, 10, 100, 50); - ctx.closePath(); - ctx.stroke(); - -- name: 2d.path.stroke.prune.closePath.arc - desc: Test if zero-lengthed closePath before and after arc are ignored corrected. - code: | - ctx.fillStyle = '#0f0'; - ctx.fillRect(0, 0, 100, 50); - - ctx.strokeStyle = '#f00'; - ctx.lineWidth = 10; - ctx.lineCap = 'round'; - ctx.lineJoin = 'round'; - - ctx.beginPath(); - ctx.moveTo(50, 25); - ctx.lineTo(50, 25); - ctx.closePath(); - - ctx.moveTo(10, 10); - ctx.arc(20, 20, 15, 0, Math.PI); - ctx.closePath(); - - ctx.moveTo(40, 40); - ctx.lineTo(40, 40); - ctx.closePath(); - ctx.stroke(); - reference: | - ctx.fillStyle = '#0f0'; - ctx.fillRect(0, 0, 100, 50); - - ctx.strokeStyle = '#f00'; - ctx.lineWidth = 10; - ctx.lineCap = 'round'; - ctx.lineJoin = 'round'; - - ctx.moveTo(10, 10); - ctx.arc(20, 20, 15, 0, Math.PI); - ctx.closePath(); - ctx.stroke(); - - name: 2d.path.transformation.basic code: | ctx.fillStyle = '#f00';