mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
d7d7a3bbb9
WSRunObject::InsertText() may delete given child node at offset with calling DeleteChars() or CheckLeadingNBSP() before calling HTMLEditor::InsertTextImpl(). Therefore, even though using nsINode::GetChildAt() is slow, it needs to update aInOutChildAtOffset after calling them. MozReview-Commit-ID: AbTTfNAjMIK --HG-- extra : rebase_source : b4282e8dc6e395acc89d7c155bfeae46e7c41e4a