Lines Matching refs:insPos
2391 int32_t insPos; in ReplaceOrInsertBefore() local
2393 insPos = IndexOf(nodeToInsertBefore); in ReplaceOrInsertBefore()
2394 if (insPos < 0) { in ReplaceOrInsertBefore()
2401 insPos = GetChildCount(); in ReplaceOrInsertBefore()
2415 NS_ASSERTION(insPos >= 1, "insPos too small"); in ReplaceOrInsertBefore()
2416 RemoveChildAt(insPos-1, true); in ReplaceOrInsertBefore()
2417 --insPos; in ReplaceOrInsertBefore()
2451 mutationBatch->SetPrevSibling(GetChildAt(insPos - 1)); in ReplaceOrInsertBefore()
2452 mutationBatch->SetNextSibling(GetChildAt(insPos)); in ReplaceOrInsertBefore()
2461 !IsNodeOfType(eDOCUMENT) && uint32_t(insPos) == GetChildCount(); in ReplaceOrInsertBefore()
2462 int32_t firstInsPos = insPos; in ReplaceOrInsertBefore()
2467 for (uint32_t i = 0; i < count; ++i, ++insPos) { in ReplaceOrInsertBefore()
2470 aError = InsertChildAt(fragChildren->ElementAt(i), insPos, in ReplaceOrInsertBefore()
2511 mb.SetPrevSibling(GetChildAt(insPos - 1)); in ReplaceOrInsertBefore()
2512 mb.SetNextSibling(GetChildAt(insPos)); in ReplaceOrInsertBefore()
2514 aError = InsertChildAt(newContent, insPos, true); in ReplaceOrInsertBefore()