Bug 108449 - Add a method to normalize FloatRect/IntRect.
Summary: Add a method to normalize FloatRect/IntRect.
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-31 02:45 PST by Seulgi Kim
Modified: 2013-02-05 15:08 PST (History)
2 users (show)

See Also:


Attachments
Patch (3.57 KB, patch)
2013-01-31 02:48 PST, Seulgi Kim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seulgi Kim 2013-01-31 02:45:43 PST
The normalize method will flip the rect when it has a negative width/height.
Comment 1 Seulgi Kim 2013-01-31 02:48:21 PST
Created attachment 185729 [details]
Patch
Comment 2 Kwang Yul Seo 2013-02-05 04:32:59 PST
I think you need to explain why you need this new method. Otherwise, it will just become an unused method.
Comment 3 Seulgi Kim 2013-02-05 15:07:59 PST
(In reply to comment #2)
> I think you need to explain why you need this new method. Otherwise, it will just become an unused method.

I planed to use it in other patch, but that plan is postponed.
I have no schedule to do it now. If other related issue is scheduled, I'll start it again.