This will make it easier to get the pixel snapped bottom/right edges as well as the size.
Created attachment 128357 [details] Patch
Comment on attachment 128357 [details] Patch Odd. Why not just use rect.pixelSnapped().width(), etc?
(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.
These were added in http://trac.webkit.org/changeset/109835.
Comment on attachment 128357 [details] Patch Clearing flags.