mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
2b96b7532a
Perhaps, most callers don't need parent block outside active editing host. Therefore, callers of these methods should be able to specify the editing host for making those methods stop looking for a block ancestor. Then, callers can avoid using EditorUtils::IsDescendantOf() and nsContentUtils::IsContentDescendantOf(). MozReview-Commit-ID: 7IK4gAVHY5d --HG-- extra : rebase_source : 31cd55026f0ce005d906499de4ebe5d1c39555e9