Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: LayoutTests/fast/canvas/canvas-ellipse-zero-lineto-expected.txt

Issue 14298022: Add support for new canvas ellipse method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make canvas-ellipse-360-winding.html for virtual/gpu pass. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/canvas-ellipse-zero-lineto-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto-expected.txt b/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8680762e3cc2de668fc39956512066a49b3954a0
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-ellipse-zero-lineto-expected.txt
@@ -0,0 +1,82 @@
+This tests checks that ellipse can draw lines correctly in edge cases.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS imageData.data[1] is 255
+moveTo + empty ellipse (swing == 0)
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+moveTo + empty ellipse (radiusX == 0)
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+moveTo + empty ellipse (radiusY == 0)
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+empty ellipse (swing == 0) + lineTo
+PASS imageData.data[1] is 255
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+empty ellipse (radiusX == 0) + lineTo
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+empty ellipse (radiusY == 0) + lineTo
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+lineTo + empty ellipse (radiusX == 0) + lineTo
+ 1. sweepAngle < PI / 2
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+ 2. sweepAngle < PI
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+ 3. sweepAngle < 2PI
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+ 4. sweepAngle < 4PI
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+ 5. sweepAngle > 4PI
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+lineTo + empty ellipse (radiusY == 0) + lineTo
+ 1. sweepAngle < PI / 2
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+ 2. sweepAngle < PI
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 255
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+ 3. sweepAngle < 2PI
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+ 4. sweepAngle < 4PI
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+ 5. sweepAngle > 4PI
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS imageData.data[1] is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698