Created attachment 402536 [details] Reduction Steps: 1. Open the attached reduction HTML 2. Click on "editable" on the first line Expected: Text caret is visible. Actual: Text caret isn't visible. Works well on the second line.
<rdar://problem/64625916>
This doesn't work in Chrome either but works well in Firefox.
Can reproduce in Safari 15.1. Corresponding Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=806904 Note, Nikita says this "works well in Firefox", but it does not for me: the exact same bug exists in Firefox 95 on macOS, [filed here](https://bugzilla.mozilla.org/show_bug.cgi?id=1748239). (It seems Gecko and Webkit both implemented the caret in the same buggy way ...)
This bug is still reproducible in Safari 15.5 and all other browsers have this broken behaviour. Thanks!