mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00

When deleting, we previously would only move the cursor back into the previous block if the last leaf node was a text node, for some reason. We should move into the previous block in other cases as well, like if the leaf node is a collapsed <br>. (Probably it's not correct to move backward into tables, but that already was happening if the table had text at the end. There may be other cases where this is wrong.) MozReview-Commit-ID: 8e0dTU3lNYO