Index: LayoutTests/fast/canvas/canvas-ellipse-connecting-line-expected.html |
diff --git a/LayoutTests/fast/canvas/canvas-ellipse-connecting-line-expected.html b/LayoutTests/fast/canvas/canvas-ellipse-connecting-line-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b9010b360e6171c568185cc29eb08de8adc6ba7c |
--- /dev/null |
+++ b/LayoutTests/fast/canvas/canvas-ellipse-connecting-line-expected.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<html> |
+<head></head> |
+<body> |
+<canvas id="mycanvas" width="300" height="300"></canvas> |
+<script src="script-tests/js-ellipse-implementation.js"></script> |
+<script> |
+var canvas = document.getElementById('mycanvas'); |
+var ctx = canvas.getContext('2d'); |
+ |
+ctx.fillStyle = '#0f0'; |
+ctx.fillRect(0, 0, canvas.width, canvas.height); |
+ctx.lineJoin = 'bevel'; |
+ctx.lineWidth = 12; |
+ctx.beginPath(); |
+ellipseUsingArc(ctx, 200, 150, 40, 80, -Math.PI / 6, Math.PI / 2, -Math.PI / 2, false); |
+ellipseUsingArc(ctx, 100, 150, 40, 80, Math.PI / 6, Math.PI / 2, -Math.PI / 2, false); |
+ctx.stroke(); |
+</script> |
+</body> |
+</html> |