From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../tests/2dcontext/line-styles/.gitkeep | 0 .../2dcontext/line-styles/2d.line.cap.butt.html | 61 ++++++++++++ .../2dcontext/line-styles/2d.line.cap.closed.html | 46 +++++++++ .../2dcontext/line-styles/2d.line.cap.invalid.html | 52 +++++++++++ .../2dcontext/line-styles/2d.line.cap.open.html | 46 +++++++++ .../2dcontext/line-styles/2d.line.cap.round.html | 77 +++++++++++++++ .../2dcontext/line-styles/2d.line.cap.square.html | 61 ++++++++++++ .../2dcontext/line-styles/2d.line.cap.valid.html | 34 +++++++ .../tests/2dcontext/line-styles/2d.line.cross.html | 43 +++++++++ .../2dcontext/line-styles/2d.line.defaults.html | 30 ++++++ .../2dcontext/line-styles/2d.line.join.bevel.html | 80 ++++++++++++++++ .../2dcontext/line-styles/2d.line.join.closed.html | 45 +++++++++ .../line-styles/2d.line.join.invalid.html | 52 +++++++++++ .../2dcontext/line-styles/2d.line.join.miter.html | 71 ++++++++++++++ .../2dcontext/line-styles/2d.line.join.open.html | 45 +++++++++ .../line-styles/2d.line.join.parallel.html | 42 +++++++++ .../2dcontext/line-styles/2d.line.join.round.html | 78 ++++++++++++++++ .../2dcontext/line-styles/2d.line.join.valid.html | 34 +++++++ .../2dcontext/line-styles/2d.line.miter.acute.html | 52 +++++++++++ .../line-styles/2d.line.miter.exceeded.html | 44 +++++++++ .../line-styles/2d.line.miter.invalid.html | 48 ++++++++++ .../line-styles/2d.line.miter.lineedge.html | 41 ++++++++ .../line-styles/2d.line.miter.obtuse.html | 52 +++++++++++ .../line-styles/2d.line.miter.rightangle.html | 44 +++++++++ .../2dcontext/line-styles/2d.line.miter.valid.html | 37 ++++++++ .../line-styles/2d.line.miter.within.html | 44 +++++++++ .../tests/2dcontext/line-styles/2d.line.union.html | 46 +++++++++ .../2dcontext/line-styles/2d.line.width.basic.html | 63 +++++++++++++ .../line-styles/2d.line.width.invalid.html | 48 ++++++++++ .../line-styles/2d.line.width.scaledefault.html | 40 ++++++++ .../line-styles/2d.line.width.transformed.html | 69 ++++++++++++++ .../2dcontext/line-styles/2d.line.width.valid.html | 37 ++++++++ .../canvas_linestyles_linecap_001-ref.htm | 11 +++ .../line-styles/canvas_linestyles_linecap_001.htm | 37 ++++++++ .../tests/2dcontext/line-styles/lineto_a.html | 26 ++++++ .../tests/2dcontext/line-styles/lineto_ref.html | 15 +++ .../tests/2dcontext/line-styles/setLineDash.html | 104 +++++++++++++++++++++ 37 files changed, 1755 insertions(+) create mode 100644 testing/web-platform/tests/2dcontext/line-styles/.gitkeep create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.butt.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.closed.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.invalid.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.open.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.round.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.square.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.valid.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.cross.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.defaults.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.join.bevel.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.join.closed.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.join.invalid.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.join.miter.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.join.open.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.join.parallel.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.join.round.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.join.valid.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.acute.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.exceeded.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.invalid.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.lineedge.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.obtuse.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.rightangle.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.valid.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.within.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.union.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.width.basic.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.width.invalid.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.width.scaledefault.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.width.transformed.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/2d.line.width.valid.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/canvas_linestyles_linecap_001-ref.htm create mode 100644 testing/web-platform/tests/2dcontext/line-styles/canvas_linestyles_linecap_001.htm create mode 100644 testing/web-platform/tests/2dcontext/line-styles/lineto_a.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/lineto_ref.html create mode 100644 testing/web-platform/tests/2dcontext/line-styles/setLineDash.html (limited to 'testing/web-platform/tests/2dcontext/line-styles') diff --git a/testing/web-platform/tests/2dcontext/line-styles/.gitkeep b/testing/web-platform/tests/2dcontext/line-styles/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.butt.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.butt.html new file mode 100644 index 000000000..353676233 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.butt.html @@ -0,0 +1,61 @@ + + +Canvas test: 2d.line.cap.butt + + + + + + +

2d.line.cap.butt

+

lineCap 'butt' is rendered correctly

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.closed.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.closed.html new file mode 100644 index 000000000..f8e233a41 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.closed.html @@ -0,0 +1,46 @@ + + +Canvas test: 2d.line.cap.closed + + + + + + +

2d.line.cap.closed

+

Line caps are not drawn at the corners of an unclosed rectangle

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.invalid.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.invalid.html new file mode 100644 index 000000000..1db32a9d6 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.invalid.html @@ -0,0 +1,52 @@ + + +Canvas test: 2d.line.cap.invalid + + + + + + +

2d.line.cap.invalid

+

Setting lineCap to invalid values is ignored

+ + +

Actual output:

+

FAIL (fallback content)

+ + + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.open.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.open.html new file mode 100644 index 000000000..499773085 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.open.html @@ -0,0 +1,46 @@ + + +Canvas test: 2d.line.cap.open + + + + + + +

2d.line.cap.open

+

Line caps are drawn at the corners of an unclosed rectangle

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.round.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.round.html new file mode 100644 index 000000000..675d11ce2 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.round.html @@ -0,0 +1,77 @@ + + +Canvas test: 2d.line.cap.round + + + + + + +

2d.line.cap.round

+

lineCap 'round' is rendered correctly

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.square.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.square.html new file mode 100644 index 000000000..ea1e4d949 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.square.html @@ -0,0 +1,61 @@ + + +Canvas test: 2d.line.cap.square + + + + + + +

2d.line.cap.square

+

lineCap 'square' is rendered correctly

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.valid.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.valid.html new file mode 100644 index 000000000..6ac119d4a --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cap.valid.html @@ -0,0 +1,34 @@ + + +Canvas test: 2d.line.cap.valid + + + + + + +

2d.line.cap.valid

+

Setting lineCap to valid values works

+ + +

Actual output:

+

FAIL (fallback content)

+ + + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.cross.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cross.html new file mode 100644 index 000000000..61b2125c4 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.cross.html @@ -0,0 +1,43 @@ + + +Canvas test: 2d.line.cross + + + + + + +

2d.line.cross

+

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.defaults.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.defaults.html new file mode 100644 index 000000000..8b680785d --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.defaults.html @@ -0,0 +1,30 @@ + + +Canvas test: 2d.line.defaults + + + + + + +

2d.line.defaults

+

+ + +

Actual output:

+

FAIL (fallback content)

+ + + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.bevel.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.bevel.html new file mode 100644 index 000000000..72c0186e1 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.bevel.html @@ -0,0 +1,80 @@ + + +Canvas test: 2d.line.join.bevel + + + + + + +

2d.line.join.bevel

+

lineJoin 'bevel' is rendered correctly

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.closed.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.closed.html new file mode 100644 index 000000000..1f2bf5cb7 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.closed.html @@ -0,0 +1,45 @@ + + +Canvas test: 2d.line.join.closed + + + + + + +

2d.line.join.closed

+

Line joins are drawn at the corner of a closed rectangle

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.invalid.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.invalid.html new file mode 100644 index 000000000..9d54d90b1 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.invalid.html @@ -0,0 +1,52 @@ + + +Canvas test: 2d.line.join.invalid + + + + + + +

2d.line.join.invalid

+

Setting lineJoin to invalid values is ignored

+ + +

Actual output:

+

FAIL (fallback content)

+ + + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.miter.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.miter.html new file mode 100644 index 000000000..8a6d4a60e --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.miter.html @@ -0,0 +1,71 @@ + + +Canvas test: 2d.line.join.miter + + + + + + +

2d.line.join.miter

+

lineJoin 'miter' is rendered correctly

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.open.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.open.html new file mode 100644 index 000000000..a72291bc3 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.open.html @@ -0,0 +1,45 @@ + + +Canvas test: 2d.line.join.open + + + + + + +

2d.line.join.open

+

Line joins are not drawn at the corner of an unclosed rectangle

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.parallel.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.parallel.html new file mode 100644 index 000000000..2a8956d7e --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.parallel.html @@ -0,0 +1,42 @@ + + +Canvas test: 2d.line.join.parallel + + + + + + +

2d.line.join.parallel

+

Line joins are drawn at 180-degree joins

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.round.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.round.html new file mode 100644 index 000000000..4a827adce --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.round.html @@ -0,0 +1,78 @@ + + +Canvas test: 2d.line.join.round + + + + + + +

2d.line.join.round

+

lineJoin 'round' is rendered correctly

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.valid.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.valid.html new file mode 100644 index 000000000..98fec4cb7 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.join.valid.html @@ -0,0 +1,34 @@ + + +Canvas test: 2d.line.join.valid + + + + + + +

2d.line.join.valid

+

Setting lineJoin to valid values works

+ + +

Actual output:

+

FAIL (fallback content)

+ + + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.acute.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.acute.html new file mode 100644 index 000000000..f11a32164 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.acute.html @@ -0,0 +1,52 @@ + + +Canvas test: 2d.line.miter.acute + + + + + + +

2d.line.miter.acute

+

Miter joins are drawn correctly with acute angles

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.exceeded.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.exceeded.html new file mode 100644 index 000000000..1cbcd3cad --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.exceeded.html @@ -0,0 +1,44 @@ + + +Canvas test: 2d.line.miter.exceeded + + + + + + +

2d.line.miter.exceeded

+

Miter joins are not drawn when the miter limit is exceeded

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.invalid.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.invalid.html new file mode 100644 index 000000000..4f7fd69bc --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.invalid.html @@ -0,0 +1,48 @@ + + +Canvas test: 2d.line.miter.invalid + + + + + + +

2d.line.miter.invalid

+

Setting miterLimit to invalid values is ignored

+ + +

Actual output:

+

FAIL (fallback content)

+ + + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.lineedge.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.lineedge.html new file mode 100644 index 000000000..54c2ce539 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.lineedge.html @@ -0,0 +1,41 @@ + + +Canvas test: 2d.line.miter.lineedge + + + + + + +

2d.line.miter.lineedge

+

Miter joins are not drawn when the miter limit is exceeded at the corners of a zero-height rectangle

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.obtuse.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.obtuse.html new file mode 100644 index 000000000..40ebdd1f8 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.obtuse.html @@ -0,0 +1,52 @@ + + +Canvas test: 2d.line.miter.obtuse + + + + + + +

2d.line.miter.obtuse

+

Miter joins are drawn correctly with obtuse angles

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.rightangle.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.rightangle.html new file mode 100644 index 000000000..ebcfb261a --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.rightangle.html @@ -0,0 +1,44 @@ + + +Canvas test: 2d.line.miter.rightangle + + + + + + +

2d.line.miter.rightangle

+

Miter joins are not drawn when the miter limit is exceeded, on exact right angles

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.valid.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.valid.html new file mode 100644 index 000000000..59148aa56 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.valid.html @@ -0,0 +1,37 @@ + + +Canvas test: 2d.line.miter.valid + + + + + + +

2d.line.miter.valid

+

Setting miterLimit to valid values works

+ + +

Actual output:

+

FAIL (fallback content)

+ + + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.within.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.within.html new file mode 100644 index 000000000..5ed57e0cc --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.miter.within.html @@ -0,0 +1,44 @@ + + +Canvas test: 2d.line.miter.within + + + + + + +

2d.line.miter.within

+

Miter joins are drawn when the miter limit is not quite exceeded

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.union.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.union.html new file mode 100644 index 000000000..92fa2f1a2 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.union.html @@ -0,0 +1,46 @@ + + +Canvas test: 2d.line.union + + + + + + +

2d.line.union

+

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.basic.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.basic.html new file mode 100644 index 000000000..b61baaf24 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.basic.html @@ -0,0 +1,63 @@ + + +Canvas test: 2d.line.width.basic + + + + + + +

2d.line.width.basic

+

lineWidth determines the width of line strokes

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.invalid.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.invalid.html new file mode 100644 index 000000000..d5cd3ab0a --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.invalid.html @@ -0,0 +1,48 @@ + + +Canvas test: 2d.line.width.invalid + + + + + + +

2d.line.width.invalid

+

Setting lineWidth to invalid values is ignored

+ + +

Actual output:

+

FAIL (fallback content)

+ + + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.scaledefault.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.scaledefault.html new file mode 100644 index 000000000..154d7b582 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.scaledefault.html @@ -0,0 +1,40 @@ + + +Canvas test: 2d.line.width.scaledefault + + + + + + +

2d.line.width.scaledefault

+

Default lineWidth strokes are affected by scale transformations

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.transformed.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.transformed.html new file mode 100644 index 000000000..903321f44 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.transformed.html @@ -0,0 +1,69 @@ + + +Canvas test: 2d.line.width.transformed + + + + + + +

2d.line.width.transformed

+

Line stroke widths are affected by scale transformations

+ + +

Actual output:

+

FAIL (fallback content)

+

Expected output:

+

+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.valid.html b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.valid.html new file mode 100644 index 000000000..c89fa56a6 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/2d.line.width.valid.html @@ -0,0 +1,37 @@ + + +Canvas test: 2d.line.width.valid + + + + + + +

2d.line.width.valid

+

Setting lineWidth to valid values works

+ + +

Actual output:

+

FAIL (fallback content)

+ + + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/canvas_linestyles_linecap_001-ref.htm b/testing/web-platform/tests/2dcontext/line-styles/canvas_linestyles_linecap_001-ref.htm new file mode 100644 index 000000000..f85af9aab --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/canvas_linestyles_linecap_001-ref.htm @@ -0,0 +1,11 @@ + + + + HTML5 Canvas Test: "square" lineCap + + + +

Description: The square value of lineCap means that a rectangle with the length of the line width and the width of half the line width, placed flat against the edge perpendicular to the direction of the line, must be added at the end of each line.

+
black rect
+ + diff --git a/testing/web-platform/tests/2dcontext/line-styles/canvas_linestyles_linecap_001.htm b/testing/web-platform/tests/2dcontext/line-styles/canvas_linestyles_linecap_001.htm new file mode 100644 index 000000000..583dbc9d1 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/canvas_linestyles_linecap_001.htm @@ -0,0 +1,37 @@ + + + + HTML5 Canvas Test: "square" lineCap + + + + + + + +

Description: The square value of lineCap means that a rectangle with the length of the line width and the width of half the line width, placed flat against the edge perpendicular to the direction of the line, must be added at the end of each line.

+ Browser does not support HTML5 Canvas. + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/lineto_a.html b/testing/web-platform/tests/2dcontext/line-styles/lineto_a.html new file mode 100644 index 000000000..7e692f937 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/lineto_a.html @@ -0,0 +1,26 @@ + + + + + +Your browser does not support the HTML5 canvas tag. + + diff --git a/testing/web-platform/tests/2dcontext/line-styles/lineto_ref.html b/testing/web-platform/tests/2dcontext/line-styles/lineto_ref.html new file mode 100644 index 000000000..3dc78ff80 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/lineto_ref.html @@ -0,0 +1,15 @@ + + + +
diff --git a/testing/web-platform/tests/2dcontext/line-styles/setLineDash.html b/testing/web-platform/tests/2dcontext/line-styles/setLineDash.html new file mode 100644 index 000000000..06fcada76 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/line-styles/setLineDash.html @@ -0,0 +1,104 @@ + + +setLineDash + + + + + -- cgit v1.2.3