Use layout test fast/overflow/dynamic-hidden.html Select text by dragging text beyond the boundaries. background color drawn for selection is lost after mouse is dragged below the <div>
I think this is related (perhaps as the root cause) to bug 12593.
Created attachment 26381 [details] test case Uploaded test case mentioned above. I can confirm this bug. The behavior is inconsistent with Firefox 3.1 beta 2 and Opera 10 alpha.
I am able to reproduce this bug in Safari 16.5 & Chrome Canary 116 and the selection painting is listed once mouse / selection goes below 'div' / paragraph, only Firefox Nightly 115 maintains selection.
This seems to have something to do with the container being out-of-flow.