mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 03:49:42 +00:00

EditorBase::CreateNode() should take EditorRawDOMPoint as insertion point of the new element instead of a set of container, child and offset of the child in the container. This patch initializes EditorRawDOMPoint with original 3 arguments as far as possible. If the relation of them are broken, MOZ_ASSERT in RawRangeBoundary constructor detects existing bugs. MozReview-Commit-ID: 2N55S6pRv7k --HG-- extra : rebase_source : 2b14a7715815ca0007635b8f791ca9edbe5b65f1