Bug 300265

Summary: [css-anchor-position] Scrollbar does not seem to refresh as often as it should
Product: WebKit Reporter: David Shin <dshin>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Minimum Reproducible Case none

David Shin
Reported 2025-10-06 14:45:54 PDT
Created attachment 476987 [details] Minimum Reproducible Case Version: STP 229, WebKit 20623.1.9.1 STR: 1. Load attached testcase 2. Note outer scroller's size 3. Scroll back up on outer scroller 4. Scroll all the way down on inner scroller 5. Note outer scroller's size 6. Resize the browser window 7. Note outer scroller's size Actual: * Scroller size in step 5 is the same as step 2: Scroller size accomodates the green element when the inner scroller is scrolled all the way up. * Step 7 scroller size shrinks to accomodate the inner scroller which is now the bottommost element Expected: * Scroller size in steps 5 and 7 are equal * As per [this discussion](https://github.com/w3c/csswg-drafts/issues/12898), I think it's intended that the scroller size should shrink as I scroll in step 4.
Attachments
Minimum Reproducible Case (1.06 KB, text/html)
2025-10-06 14:45 PDT, David Shin
no flags
Alexey Proskuryakov
Comment 1 2025-10-06 16:18:18 PDT
*** This bug has been marked as a duplicate of bug 300266 ***
Note You need to log in before you can comment on or make changes to this bug.