My colleague ran into this while making a UIWebView based app. Repros in Safari Nightly. Reproduction: http://codepen.io/anon/pen/CEGim
See also: bug 20129 (which has similar symptoms, but is no longer occurring). Possibly bug 55886 too.
<rdar://problem/22707551>
It looks like Chrome, Firefox, and Safari all behave differently than expected. See <https://w3c.github.io/editing/contentEditable.html> We should get this behavior standardized before attempting to implement a change in behavior.
I don't think we can ever standardize how the insertion point is rendered since its behavior is platform dependent. Also, there is no way the editing API spec will be standardized anytime soon so I don't think we should gate fixing these bugs on the standardization effort.
Committed 255333@main (11d258f9db32): <https://commits.webkit.org/255333@main> Reviewed commits have been landed. Closing PR #5164 and removing active labels.
*** Bug 248345 has been marked as a duplicate of this bug. ***