WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
101800
Correct scroll adjustment for touchEvent.clientX/clientY
https://bugs.webkit.org/show_bug.cgi?id=101800
Summary
Correct scroll adjustment for touchEvent.clientX/clientY
Tien-Ren Chen
Reported
2012-11-09 14:40:06 PST
Correct scroll adjustment for touchEvent.clientX/clientY
Attachments
Patch
(4.65 KB, patch)
2012-11-09 14:42 PST
,
Tien-Ren Chen
no flags
Details
Formatted Diff
Diff
Patch
(4.62 KB, patch)
2012-11-09 15:05 PST
,
Tien-Ren Chen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Tien-Ren Chen
Comment 1
2012-11-09 14:42:53 PST
Created
attachment 173373
[details]
Patch
Adam Barth
Comment 2
2012-11-09 14:57:15 PST
Comment on
attachment 173373
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=173373&action=review
> LayoutTests/fast/events/touch/touch-scaled-scrolled.html:17 > + if (window.internals) { > + window.internals.settings.setPageScaleFactor(2, 0, 0); > + }
No need for { } here.
> LayoutTests/fast/events/touch/touch-scaled-scrolled.html:30 > + window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
Why do we need to use setTimeout? Can't we call notifyDone from inside touched?
Tien-Ren Chen
Comment 3
2012-11-09 15:03:42 PST
(In reply to
comment #2
)
> (From update of
attachment 173373
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=173373&action=review
> > > LayoutTests/fast/events/touch/touch-scaled-scrolled.html:17 > > + if (window.internals) { > > + window.internals.settings.setPageScaleFactor(2, 0, 0); > > + } > > No need for { } here. > > > LayoutTests/fast/events/touch/touch-scaled-scrolled.html:30 > > + window.setTimeout(function() { window.testRunner.notifyDone(); }, 0); > > Why do we need to use setTimeout? Can't we call notifyDone from inside touched?
Copy & paste from other test without much thoughts. Will fix the nits. :)
Tien-Ren Chen
Comment 4
2012-11-09 15:05:24 PST
Created
attachment 173379
[details]
Patch
WebKit Review Bot
Comment 5
2012-11-09 15:55:09 PST
Comment on
attachment 173379
[details]
Patch Clearing flags on attachment: 173379 Committed
r134127
: <
http://trac.webkit.org/changeset/134127
>
WebKit Review Bot
Comment 6
2012-11-09 15:55:12 PST
All reviewed patches have been landed. Closing bug.
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