Bug 128071

Summary: Subpixel rendering: Floor thickness and length after switching from int to float.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: darin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

zalan
Reported 2014-02-02 09:36:13 PST
This is a temporary solution to fix the assertion on empty line drawing until after bug 128009 is landed.
Attachments
zalan
Comment 1 2014-02-02 09:40:02 PST
Darin Adler
Comment 2 2014-02-02 10:57:13 PST
On a float it should be floorf. Calling floor will convert to a double, then floor, and then convert back to a float.
zalan
Comment 3 2014-02-02 11:01:04 PST
(In reply to comment #2) > On a float it should be floorf. Calling floor will convert to a double, then floor, and then convert back to a float. hmm, how did I miss that! Thanks. I am planning to land the proper fix for this later today.
Note You need to log in before you can comment on or make changes to this bug.