[Webkit-unassigned] [Bug 54491] New: [cairo][canvas] Drawing from/into float rectangles with width or height in range 0 to 1 fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 15 13:14:09 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54491

           Summary: [cairo][canvas] Drawing from/into float rectangles
                    with width or height in range 0 to 1 fails
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zandobersek at gmail.com
                CC: mdelaney at apple.com


This bug covers the failure and fix for test canvas/philip/tests/2d.drawImage.floatsource.html.

Failure occurs when context draws image from source float rectangle (x:10.1, y:10.1, width:0.1, height:0.1).
The x and y coordinates both properly round to 10, but width and height are both rounded to 0, which results in this test not passing.

Rounding algorithms should be adjusted to correctly round width and height in such cases.

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



More information about the webkit-unassigned mailing list