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/building-paths/.gitkeep | 0 .../canvas_complexshapes_arcto_001-ref.htm | 11 +++++++ .../canvas_complexshapes_arcto_001.htm | 26 ++++++++++++++++ .../canvas_complexshapes_beziercurveto_001-ref.htm | 11 +++++++ .../canvas_complexshapes_beziercurveto_001.htm | 35 ++++++++++++++++++++++ 5 files changed, 83 insertions(+) create mode 100644 testing/web-platform/tests/2dcontext/building-paths/.gitkeep create mode 100644 testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_arcto_001-ref.htm create mode 100644 testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_arcto_001.htm create mode 100644 testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_beziercurveto_001-ref.htm create mode 100644 testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_beziercurveto_001.htm (limited to 'testing/web-platform/tests/2dcontext/building-paths') diff --git a/testing/web-platform/tests/2dcontext/building-paths/.gitkeep b/testing/web-platform/tests/2dcontext/building-paths/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_arcto_001-ref.htm b/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_arcto_001-ref.htm new file mode 100644 index 000000000..6fc212ea4 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_arcto_001-ref.htm @@ -0,0 +1,11 @@ + + + + HTML5 Canvas Test: arcTo() adds to subpath if same point + + + +

Description: If x1,y1 and x2,y2 are the same point, then arcTo must add x1,y1 to the subpath, and connect that point to x0,y0 with a straight line.

+
line
+ + diff --git a/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_arcto_001.htm b/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_arcto_001.htm new file mode 100644 index 000000000..c3f2fb6f4 --- /dev/null +++ b/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_arcto_001.htm @@ -0,0 +1,26 @@ + + + + HTML5 Canvas Test: arcTo() adds to subpath if same point + + + + + + + +

Description: If x1,y1 and x2,y2 are the same point, then arcTo must add x1,y1 to the subpath, and connect that point to x0,y0 with a straight line.

+ Browser does not support HTML5 Canvas. + + diff --git a/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_beziercurveto_001-ref.htm b/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_beziercurveto_001-ref.htm new file mode 100644 index 000000000..935e84c5c --- /dev/null +++ b/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_beziercurveto_001-ref.htm @@ -0,0 +1,11 @@ + + + + HTML5 Canvas Test: bezierCurveTo() must ensure subpaths + + + +

Description: bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y) must ensure there is a subpath for the point (cp1x,cp1y) if the context has no subpaths, then it must connect the last point in the subpath to the point (x,y).

+
smiley
+ + diff --git a/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_beziercurveto_001.htm b/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_beziercurveto_001.htm new file mode 100644 index 000000000..d04926eba --- /dev/null +++ b/testing/web-platform/tests/2dcontext/building-paths/canvas_complexshapes_beziercurveto_001.htm @@ -0,0 +1,35 @@ + + + + HTML5 Canvas Test: bezierCurveTo() must ensure subpaths + + + + + + + +

Description: bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y) must ensure there is a subpath for the point (cp1x,cp1y) if the context has no subpaths, then it must connect the last point in the subpath to the point (x,y).

+ Browser does not support HTML5 Canvas. + + -- cgit v1.2.3