WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
60806
Switch controlClipRect to use IntPoint
https://bugs.webkit.org/show_bug.cgi?id=60806
Summary
Switch controlClipRect to use IntPoint
Levi Weintraub
Reported
2011-05-13 14:41:07 PDT
Ongoing removal of tx/ty.
Attachments
Patch
(10.88 KB, patch)
2011-05-24 12:33 PDT
,
Levi Weintraub
no flags
Details
Formatted Diff
Diff
Patch
(10.85 KB, patch)
2011-05-25 10:18 PDT
,
Levi Weintraub
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Levi Weintraub
Comment 1
2011-05-24 12:16:55 PDT
***
Bug 61383
has been marked as a duplicate of this bug. ***
Levi Weintraub
Comment 2
2011-05-24 12:33:19 PDT
Created
attachment 94665
[details]
Patch
Levi Weintraub
Comment 3
2011-05-24 12:33:59 PDT
Comment on
attachment 94665
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=94665&action=review
> Source/WebCore/rendering/RenderListBox.cpp:694 > + clipRect.move(additionalOffset.x(), additionalOffset.y());
It's a bit strange, but perhaps we should consider a flavor of IntRect::move that takes a point?
Emil A Eklund
Comment 4
2011-05-24 12:51:30 PDT
> It's a bit strange, but perhaps we should consider a flavor of IntRect::move that takes a point?
I would support that, there's a lot of code in both the painting and the hit testing code that uses coordinates interchangeably as points and offsets. Being able to move a rect by a point would make it much easier to clean up that code without having to do a lot of conversions.
Levi Weintraub
Comment 5
2011-05-24 13:14:12 PDT
Comment on
attachment 94665
[details]
Patch Cool. I'm going to hold back on this and make it dependent on such a change.
Levi Weintraub
Comment 6
2011-05-25 10:18:29 PDT
Created
attachment 94802
[details]
Patch
Eric Seidel (no email)
Comment 7
2011-05-26 15:03:17 PDT
Comment on
attachment 94802
[details]
Patch This whole size vs. point mess is super-confusing.
Levi Weintraub
Comment 8
2011-05-26 15:49:12 PDT
Committed
r87443
: <
http://trac.webkit.org/changeset/87443
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug