Index: LayoutTests/fast/canvas/ellipse360.html |
diff --git a/LayoutTests/fast/canvas/ellipse360.html b/LayoutTests/fast/canvas/ellipse360.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2b675383756dff2289295b6c06824f31359c6617 |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/ellipse360.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<html> |
+<head></head> |
+<body> |
+<canvas id="mycanvas" width="400" height="400"></canvas> |
+<script> |
+var canvas = document.getElementById('mycanvas'); |
+var ctx = canvas.getContext('2d'); |
+ctx.lineWidth = 10; |
+ctx.beginPath(); |
+ctx.moveTo(0, 100); |
+var cx = 200, cy = 200, rx = 150, ry = 100; |
+ctx.ellipse(cx, cy, rx, ry, Math.PI / 6, -Math.PI, Math.PI, false); |
+ctx.lineTo(0, 300); |
+ctx.stroke(); |
+</script> |
+</body> |
+</html> |