[Webkit-unassigned] [Bug 186956] AX: [iOS] VoiceOver scroll position is jumpy in frames
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 26 11:42:56 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=186956
--- Comment #4 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 343409
--> https://bugs.webkit.org/attachment.cgi?id=343409
patch
View in context: https://bugs.webkit.org/attachment.cgi?id=343409&action=review
>>> Source/WebCore/platform/ScrollView.cpp:851
>>> + return convertToContainingView(contentsToView(rect));
>>
>> This looks like it's duplicating what Frederic was trying to do in bug 182785. You need to be careful here; this change can affect both UIWebView and WKWebView on iOS, and you need to examine the callers to make sure you didn't break anything. Also bear in mind that we don't have good UIWebViewtest coverage.
>
> I think that's a different issue since it's checking the window?
> contentsToContainingViewContents() is only being called in RenderLayer::scrollRectToVisible()
>
> Do you mean I should check all the callers of RenderLayer::scrollRectToVisible()?
Actually I think you're papering over the issue that bug 182785 is trying to fix. We always want to take scroll offsets into account when converting rects (and, anyway, with frame flattening, iframe scroll offsets should always be zero). But ScrollView::windowToContents() breaks that assumption right now, and we're trying to fix it but ScrollView::windowToContents() has lots of callers and fixing it is hard.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180626/6ae9a5bb/attachment.html>
More information about the webkit-unassigned
mailing list