[Webkit-unassigned] [Bug 90083] New: LayoutUnit::epsilon() is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 27 10:45:20 PDT 2012


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

           Summary: LayoutUnit::epsilon() is wrong
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: behdad at google.com


In platform/FractionalLayoutUnit.h:

    static float epsilon() { return 1 / kFixedPointDenominator; } 

That division is done as integers.  So, if SUBPIXEL_LAYOUT is enabled, epsilon() always returns zero.

-- 
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