Reviewers: rice, Description: Change floats to doubles and work around a firefox bug.
1) Floats and doubles are equivalent in JS but using floats requires casting (e.g., 3.14 -> 3.14f or Math.PI -> (float)Math.PI). Therefore, I've switched to just using doubles. 2) Firefox has a bug where the anticlockwise parameter to arc is not optional (see https://bugzilla.mozilla.org/show_bug.cgi?id=617319). I've worked around it and have added a test case. Please review this at http://gwt-code-reviews.appspot.com/1192801/show Affected files: M user/src/com/google/gwt/canvas/dom/client/CanvasGradient.java M user/src/com/google/gwt/canvas/dom/client/Context2d.java M user/src/com/google/gwt/canvas/dom/client/TextMetrics.java M user/test/com/google/gwt/canvas/dom/client/Context2dTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
