Bug 62044 (scott@cds)

Summary: Changes to nested flexible box contents resets scroll positions of all flexible boxes to 0
Product: WebKit Reporter: Scott <scott>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: ahmad.saleem792, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: https://jsfiddle.net/CPFKr/show
Attachments:
Description Flags
Bug Example none

Scott
Reported 2011-06-03 13:09:37 PDT
Created attachment 95951 [details] Bug Example First post on the bugzilla. Take a look at the example. Whenever a <p> is removed from the right-hand box via js, the scrollbars for both the left-hand and right-hand boxes reset to 0. I discovered this bug while trying to load content into a nested flexible box via AJAX. The example uses jquery to demonstrate the bug, but it's also possible to reproduce the bug just using an inspector and manually deleting content (which I did without jquery loaded to confirm that jquery is not the problem). I've reproduced this bug using both Chrome 11.0.696.71, Safari 5.0.5 (6533.21.1) and WebKit Nightly r88019 (all on Mac). The bug does not occur in Firefox 4.0.1 on Mac. Interesting Note: The Firefox implementation maintains scroll position across page reloads. Perhaps this is related somehow?
Attachments
Bug Example (42 bytes, text/plain)
2011-06-03 13:09 PDT, Scott
no flags
Scott
Comment 1 2011-07-30 15:00:38 PDT
Created a jsFiddle: http://jsfiddle.net/CPFKr/
Ahmad Saleem
Comment 2 2023-06-08 16:58:03 PDT
I am unable to reproduce this bug in Safari Technology Preview 171, where if I scroll both left and right containers in the middle and then when I click on red container to delete paragraph, it just cause 'scrollbar' in right container to move sligthly up as expected and similar to Chrome Canary 116. I think we can mark this as 'RESOLVED WONTFIX' since it was never confirmed.
Note You need to log in before you can comment on or make changes to this bug.