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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-negative-radius.html

Issue 2826773002: Rename CanvasPathMethods to CanvasPath (Closed)
Patch Set: x Created 3 years, 8 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: third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-negative-radius.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-negative-radius.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-negative-radius.html
index f93435815f68b340462f3f4b8a38162a9e21d5ac..6f7f2f400373d976f250091e15ce49376e64d436 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-negative-radius.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-ellipse-negative-radius.html
@@ -5,16 +5,16 @@
test(function(t) {
var canvas = document.createElement('canvas');
var ctx = canvas.getContext('2d');
-
+
ctx.ellipse(10, 10, 10, 5, 0, 0, 1, false);
ctx.ellipse(10, 10, 10, 0, 0, 0, 1, false);
ctx.ellipse(10, 10, -0, 5, 0, 0, 1, false);
-
+
assert_throws(null, function() {ctx.ellipse(10, 10, -2, 5, 0, 0, 1, false);});
assert_throws(null, function() {ctx.ellipse(10, 10, 0, -1.5, 0, 0, 1, false);});
assert_throws(null, function() {ctx.ellipse(10, 10, -2, -5, 0, 0, 1, false);});
-
+
// FIXME: When this is exposed on Path as well as CanvasRenderingContext2D, add tests for Path as well.
-}, 'Tests CanvasPathMethods ellipse with negative radii.');
+}, 'Tests CanvasPath ellipse with negative radii.');
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698