Bug 79315

Summary: Add pixelSnapped methods to FractionalLayoutRect
Product: WebKit Reporter: Emil A Eklund <eae>
Component: Layout and RenderingAssignee: Emil A Eklund <eae>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, eric, leviw, rniwa, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 60318    
Attachments:
Description Flags
Patch none

Emil A Eklund
Reported 2012-02-22 18:10:13 PST
This will make it easier to get the pixel snapped bottom/right edges as well as the size.
Attachments
Patch (2.20 KB, patch)
2012-02-22 18:14 PST, Emil A Eklund
no flags
Emil A Eklund
Comment 1 2012-02-22 18:14:32 PST
Eric Seidel (no email)
Comment 2 2012-02-22 19:08:46 PST
Comment on attachment 128357 [details] Patch Odd. Why not just use rect.pixelSnapped().width(), etc?
Emil A Eklund
Comment 3 2012-02-22 19:13:10 PST
(In reply to comment #2) > (From update of attachment 128357 [details]) > Odd. Why not just use rect.pixelSnapped().width(), etc? That would be pixelSnappedIntRect(rect).width(). The advantage of these methods is that it only computed the values that are needed. Might not be worth worrying about though.
Levi Weintraub
Comment 4 2012-03-06 11:13:14 PST
Levi Weintraub
Comment 5 2012-03-06 11:13:42 PST
Comment on attachment 128357 [details] Patch Clearing flags.
Note You need to log in before you can comment on or make changes to this bug.