[Bug 14421] New: Possible error in canvas Philip test 2d.path.stroke.prune.arc

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14421

           Summary: Possible error in canvas Philip test
                    2d.path.stroke.prune.arc
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LC1 HTML Canvas 2D Context (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: benwells@chromium.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


This test is checking that no zero length segments are removed when using arcTo
and arc. The code for checking arc is:

ctx.beginPath();
ctx.moveTo(50, 25);
ctx.arc(50, 25, 10, 0, 0, false);
ctx.stroke();

I think this should create a line from (50, 25) to the start of the arc, which
in this case will be (60, 25): the center of the circle is (50, 25), the radius
is 10 and the start angle is 0.

I believe arc call should be changed to:
ctx.arc(40, 25, 10, 0, 0, false);

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 11 October 2011 05:52:30 UTC