commit | 18be35bc27857f4c908ece4e2e2e6ab18336938e | [log] [tgz] |
---|---|---|
author | pdr@google.com <pdr@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Dec 07 19:12:47 2010 +0000 |
committer | pdr@google.com <pdr@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Dec 07 19:12:47 2010 +0000 |
tree | 6055cbfd371ec129794f1aa3f3905d2e716eddc2 | |
parent | 6c3dbe8b98521e16178f59ab92641812de316a2a [diff] |
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. Review at http://gwt-code-reviews.appspot.com/1192801 Review by: rice@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@9369 8db76d5a-ed1c-0410-87a9-c151d255dfc7