[Webkit-unassigned] [Bug 209715] New: scrollIntoView() erroneously scrolls non-containing block scrollers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 28 20:41:28 PDT 2020


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

            Bug ID: 209715
           Summary: scrollIntoView() erroneously scrolls non-containing
                    block scrollers
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

Created attachment 394857

  --> https://bugs.webkit.org/attachment.cgi?id=394857&action=review

Testcase

RenderLayer::scrollRectToVisible() walks the parent chain and calls scrollIntoView() on each enclosing layer. But this is wrong, because not all parent layers are in the containing block chain.

Attached testcase shows the bug.

-- 
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/20200329/3b39b9d2/attachment.htm>


More information about the webkit-unassigned mailing list