NEW300266
[css-anchor-position] Scrollbar does not seem to refresh as often as it should
https://bugs.webkit.org/show_bug.cgi?id=300266
Summary [css-anchor-position] Scrollbar does not seem to refresh as often as it should
David Shin
Reported 2025-10-06 14:46:53 PDT
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:47 PDT, David Shin
no flags
David Shin
Comment 1 2025-10-06 14:47:36 PDT
Created attachment 476988 [details] Minimum Reproducible Case
Alexey Proskuryakov
Comment 2 2025-10-06 16:18:18 PDT
*** Bug 300265 has been marked as a duplicate of this bug. ***
Radar WebKit Bug Importer
Comment 3 2025-10-13 14:47:10 PDT
Note You need to log in before you can comment on or make changes to this bug.