Bug 1674359 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

In this case, [`nsFrameSelection::MoveCaret`](https://searchfox.org/mozilla-central/rev/d866b96d74ec2a63f09ee418f048d23f4fd379a2/layout/generic/nsFrameSelection.cpp#805) doesn't move the caret.

A possible fix could be inserting an invisible `<br>`. IIRC, that's done in other cases too. However, unfortunately Gecko's behavior differs here from Chrome's, which is undesirable. Ideally, it seems, we should get rid of internally added invisible `<br>`s.

Masayuki: what do you think about the proposal? More context about invisible `<br>`s would be appreciated. I vaguely remember this topic having been mentioned before.

Back to Bug 1674359 Comment 1