http://bugzilla.opendarwin.org/show_bug.cgi?id=6796 is the bug representing the prevention of infinite recursion when a block with overflow:auto can't decide if it needs scrollbars or not. We should consider adjusting the min/max_width of the block if we hit the case where we prevent recursion. In the test case, for instance, "foo" and "bar" should be on the same line.
Created attachment 7065 [details] Should be on same line
Created attachment 461137 [details] Safari 15.6 matches Chrome but differs from Firefox I am able to reproduce this issue in Safari 15.6 on macOS 12.5 based on attached test case and the both text are not on same line but it is same as Chrome Canary 105. Only Firefox Nightly 104 is only browser, which shows this on same line as can be seen from attached screenshot. Thanks!