12010-09-22 James Robinson <jamesr@chromium.org>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Canvas: radialGradient with negative radius should throw exception
6 https://bugs.webkit.org/show_bug.cgi?id=37176
7
8 This matches the canvas 2d specification, Opera, IE9 beta and our behavior for arc()
9 and arcTo().
10
11 Test: canvas/philip/tests/2d.gradient.radial.negative.html
12
13 * html/canvas/CanvasRenderingContext2D.cpp:
14 (WebCore::CanvasRenderingContext2D::createRadialGradient):
15