[Webkit-unassigned] [Bug 91061] New: Incorrect rounding in ceiledLayoutUnit and roundedLayoutUnit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 12 02:17:02 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=91061
Summary: Incorrect rounding in ceiledLayoutUnit and
roundedLayoutUnit
Product: WebKit
Version: 420+
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: allan.jensen at nokia.com
When subpixel layout is enabled, the two functions ceiledLayoutUnit and roundedLayoutUnit both returns the flooredLayoutUnit instead of ceiled or rounded values.
The function FractionalUnit::fromFloatCeil was recently added to solve the same problem in updatePreferredWidth in RenderBlock.cpp, and can be reused to fix ceiledLayoutUnit.
--
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