Don't expose negative scrollLeft/scrollTop during rubber-banding
Created attachment 371468 [details] Patch
<rdar://problem/51467217>
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.
(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.
Comment on attachment 371468 [details] Patch Not going to land until I'm more convinced this won't break things.