[Webkit-unassigned] [Bug 17954] New: Canvas arc() with radius of 0 throws exception

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 19 12:08:40 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=17954

           Summary: Canvas arc() with radius of 0 throws exception
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: All
               URL: http://ejohn.org/files/bugs/arc/
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jresig at mozilla.com


See the following reduction:
http://ejohn.org/files/bugs/arc/

Which throws the following error:
Error: INDEX_SIZE_ERR: DOM Exception 1
http://ejohn.org/files/bugs/arc/ (line 5)

According to the canvas spec:
http://www.whatwg.org/specs/web-apps/current-work/multipage/section-the-canvas.html

"Negative values for radius must cause the implementation to raise an
INDEX_SIZE_ERR exception."

However, that is not the case for arcs with a radius of 0.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list