WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
198597
Don't expose negative scrollLeft/scrollTop during rubber-banding
https://bugs.webkit.org/show_bug.cgi?id=198597
Summary
Don't expose negative scrollLeft/scrollTop during rubber-banding
Simon Fraser (smfr)
Reported
2019-06-05 19:52:11 PDT
Don't expose negative scrollLeft/scrollTop during rubber-banding
Attachments
Patch
(26.70 KB, patch)
2019-06-05 19:57 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2019-06-05 19:57:21 PDT
Created
attachment 371468
[details]
Patch
Radar WebKit Bug Importer
Comment 2
2019-06-05 19:58:33 PDT
<
rdar://problem/51467217
>
Antti Koivisto
Comment 3
2019-06-06 01:36:16 PDT
Comment on
attachment 371468
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=371468&action=review
> Source/WebCore/platform/ScrollView.h:224 > + WEBCORE_EXPORT ScrollPosition scrollPosition(ScrollClamping = ScrollClamping::Unclamped) const final;
Alternatively these functions could return both clamped and unclamped values as a struct, avoiding parameter passing.
Simon Fraser (smfr)
Comment 4
2019-06-06 10:54:34 PDT
(In reply to Antti Koivisto from
comment #3
)
> Comment on
attachment 371468
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=371468&action=review
> > > Source/WebCore/platform/ScrollView.h:224 > > + WEBCORE_EXPORT ScrollPosition scrollPosition(ScrollClamping = ScrollClamping::Unclamped) const final; > > Alternatively these functions could return both clamped and unclamped values > as a struct, avoiding parameter passing.
I think that would be even more plumbing. I'm worried that this isn't web compatible, so I'll hold off on landing this.
Simon Fraser (smfr)
Comment 5
2019-06-12 15:30:43 PDT
Comment on
attachment 371468
[details]
Patch Not going to land until I'm more convinced this won't break things.
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