Bug 61955

Summary: `display: box` nested in `display: box` scrolls to top when window is resized
Product: WebKit Reporter: Sidney San Martín <s+webkit>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ahmad.saleem792, simon.fraser, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Example none

Description Sidney San Martín 2011-06-02 13:17:02 PDT
Created attachment 95796 [details]
Example

If I nest an element with display: -webkit-box inside another element with display: -webkit-box, and the inner element has a scroll bar and is scrolled down, when I resize the window, the inner element scrolls back to the top.

Works OK in Firefox.

Tested in r87885.
Comment 1 Ahmad Saleem 2023-05-07 10:25:45 PDT
There is no inner scroll jump to top in Safari 16.4.1 and it matches of Chrome Canary 115. It just moves scrollbar just slightly above (as expected).

Marking this as "RESOLVED WONTFIX" because it was never confirmed.