[Webkit-unassigned] [Bug 250814] New: scrollTop and scrollLeft always 0 in DOMContentLoaded handler on a scrolled page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 18 17:13:28 PST 2023


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

            Bug ID: 250814
           Summary: scrollTop and scrollLeft always 0 in DOMContentLoaded
                    handler on a scrolled page
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

Hi Team,

While going through Blink's commit, I came across this nasty bug where the test case make Safari do continuous reload and cause issue. I think it is good to fix it right away.

Test Case with continuous reloading - https://jsfiddle.net/v960ryzt/

^ in Safari 16.2 & STP161, it will continuously reload scrollbar while it does not in Chrome Canary 111 and Firefox Nightly 111. It seems like that the navigation is stuck and page is refreshing.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/3ad81cf0b724a2a25ee5cc79a09541d9a971ae15

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/loader/FrameLoader.cpp#2739

I just wanted to raise bug so we can fix it.

Thanks!

-- 
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/20230119/5c2dedc6/attachment-0001.htm>


More information about the webkit-unassigned mailing list