Summary: | Canvas arc() with radius of 0 throws exception | ||
---|---|---|---|
Product: | WebKit | Reporter: | John Resig <jresig> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | oliver |
Priority: | P2 | Keywords: | HasReduction, InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://ejohn.org/files/bugs/arc/ |
Description
John Resig
2008-03-19 12:08:40 PDT
For posterity, here's the reduction: <canvas width="100" height="100" id="canvas"></canvas> <script>window.onload = function(){ var c = document.getElementsByTagName("canvas")[0]; var context = c.getContext("2d"); context.arc( 10, 10, 0, 0, 180, false ); };</script> |