Steps to reproduce: 1. Use Safari on desktop 2. Switch to classic scrollbars (Appearance > Show scroll bars: Always) 3. Open https://codepen.io/simevidas/pen/bGOopaN?editors=0100 4. Click the “cause overflow” button What should have happened: The gold bar should have decreased in width to fit into the smaller viewport width due to the classic scrollbar. That is what happens in Chrome and Firefox. What happened: The gold bar did not shrink and, as a result, it no longer fits into the viewport.
Bug 245656 is somewhat related.
<rdar://problem/115946800>