[Webkit-unassigned] [Bug 146957] Scroll snapping to elements is broken for main frame scrolling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 14 10:11:33 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=146957

--- Comment #7 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 256858
  --> https://bugs.webkit.org/attachment.cgi?id=256858
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=256858&action=review

> Source/WebCore/rendering/RenderBox.cpp:5008
> +    if (document().body() && frame().mainFrame().view() && frame().mainFrame().view()->isScrollable())

This was wrong to consult the main frame.

-- 
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/20200414/45e06447/attachment.htm>


More information about the webkit-unassigned mailing list