WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
64538
TiledDrawingArea: map the visibleArea rect from page to scaled coordinates.
https://bugs.webkit.org/show_bug.cgi?id=64538
Summary
TiledDrawingArea: map the visibleArea rect from page to scaled coordinates.
Jocelyn Turcotte
Reported
2011-07-14 10:31:29 PDT
TiledDrawingArea: map the visibleArea rect from page to scaled coordinates.
Attachments
Patch
(5.71 KB, patch)
2011-07-14 10:34 PDT
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
Patch
(9.36 KB, patch)
2011-07-15 11:03 PDT
,
Jocelyn Turcotte
benjamin
: review+
benjamin
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jocelyn Turcotte
Comment 1
2011-07-14 10:34:39 PDT
Created
attachment 100827
[details]
Patch
Kenneth Rohde Christiansen
Comment 2
2011-07-14 14:14:31 PDT
Comment on
attachment 100827
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=100827&action=review
> Source/WebKit2/UIProcess/TiledDrawingAreaProxy.h:170 > + WebCore::IntRect m_contentsVisibleArea;
visibleContentRect is used for this elsewhere, like in FrameView.. maybe we should use the same terminology?
Benjamin Poulain
Comment 3
2011-07-15 03:53:28 PDT
Comment on
attachment 100827
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=100827&action=review
> Source/WebKit2/ChangeLog:8 > + TiledDrawingAreaProxy expects it's coordinates to be scaled according to
it's -> its
Benjamin Poulain
Comment 4
2011-07-15 03:59:25 PDT
(In reply to
comment #2
)
> visibleContentRect is used for this elsewhere, like in FrameView.. maybe we should use the same terminology?
+1 :)
Benjamin Poulain
Comment 5
2011-07-15 04:06:01 PDT
I see I introduced the regression here:
http://trac.webkit.org/changeset/90750
Maybe mention you fix a regression introduced by
r90750
in the Changelog?
Jocelyn Turcotte
Comment 6
2011-07-15 11:03:13 PDT
Created
attachment 101003
[details]
Patch Resubmitting for review after renaming all visibleAreas. Please tell also what you think: visibleContentsRect or visibleContentRect? From what I saw contents is right, but that's not how it's written elsewhere.
Kenneth Rohde Christiansen
Comment 7
2011-07-15 11:03:41 PDT
WebCore uses visibleContentRect
Kenneth Rohde Christiansen
Comment 8
2011-07-15 11:04:35 PDT
http://www.english-test.net/forum/ftopic12826.html#36416
<- content vs contents :-)
Jocelyn Turcotte
Comment 9
2011-07-15 11:05:25 PDT
(In reply to
comment #6
)
> Created an attachment (id=101003) [details] > Patch > > Resubmitting for review after renaming all visibleAreas. > Please tell also what you think: visibleContentsRect or visibleContentRect? From what I saw contents is right, but that's not how it's written elsewhere.
Humm forgot the changelog note for the regression, will update before pushing in any case.
Benjamin Poulain
Comment 10
2011-07-15 11:24:39 PDT
Comment on
attachment 101003
[details]
Patch Looks good. Sorry about the regression, I totally missed in which coordinate the view is, for some reason I assumed those coordinates were scaled.
Jocelyn Turcotte
Comment 11
2011-07-18 06:47:10 PDT
Committed
r91180
: <
http://trac.webkit.org/changeset/91180
>
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