RESOLVED FIXED 284713
RTL scrollbar has incorrect spacing for content added with delay
https://bugs.webkit.org/show_bug.cgi?id=284713
Summary RTL scrollbar has incorrect spacing for content added with delay
Ebrahim Byagowi
Reported 2024-12-15 04:56:46 PST
Created attachment 473573 [details] Actual vs Expected scrollbar screenshot Testcase: data:text/html,<html dir="rtl"><script>setTimeout(() => document.body.innerHTML = '<div style="width: 400px; height: 4000px; background: radial-gradient(blue, red);"></div>', 500)</script> Compare the result with data:text/html,<html dir="rtl"><script>setTimeout(() => document.body.innerHTML = '<div style="width: 400px; height: 4000px; background: radial-gradient(blue, red);"></div>', 0)</script> Scroll on the page a bit to see the scrollbar Expected: The first to be the same as the second Actual: Apparently delayed makes the fix in Bug 263512 to not be effective.
Attachments
Actual vs Expected scrollbar screenshot (47.67 KB, image/jpeg)
2024-12-15 04:56 PST, Ebrahim Byagowi
no flags
Radar WebKit Bug Importer
Comment 1 2024-12-16 10:46:41 PST
Ebrahim Byagowi
Comment 2 2025-01-31 11:44:08 PST
I believe this worth another look on new year 😊
alan
Comment 3 2025-01-31 19:38:42 PST
Interestingly the 0 timer test fails too (for that matter even the simplest case with no dynamic mutation) but we quickly recover from it, while we never recover when content is added with delay. Simon, any thoughts?
Simon Fraser (smfr)
Comment 4 2025-02-03 14:55:39 PST
No thoughts.
Nikos Mouchtaris
Comment 5 2025-03-06 17:05:57 PST
EWS
Comment 6 2025-03-14 11:12:24 PDT
Committed 292177@main (38b37039fe85): <https://commits.webkit.org/292177@main> Reviewed commits have been landed. Closing PR #42054 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.