[Webkit-unassigned] [Bug 238985] New: REGRESSION(r290770): element.scrollIntoViewIfNeeded() scrolls to top even when element is already in viewport

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 23:26:34 PDT 2022


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

            Bug ID: 238985
           Summary: REGRESSION(r290770): element.scrollIntoViewIfNeeded()
                    scrolls to top even when element is already in
                    viewport
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nvasilyev at apple.com
                CC: jonlee at apple.com, rbuis at igalia.com,
                    simon.fraser at apple.com
            Blocks: 237747

Created attachment 457025

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

[HTML] Reduction

Steps:
1. Open attached HTML reduction
2. Click anywhere on the text

Expected:
scrollTop doesn't change.

Actual:
Starting r290770, #box elements scrolls to top.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=237747
[Bug 237747] Web Inspector: REGRESSION(r290770): Styles: creating a new property scrolls the input to the top of the panel
-- 
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/20220408/2f8d4775/attachment.htm>


More information about the webkit-unassigned mailing list