Details
Description
I am rearranging the existing child nodes of a parent node. Assume I have
nodes A and B as children, with A being the first child. I then do "parent-
>insertBefore( A, B ). This should be a no-op because A is already before B.
What happens is that since A is already a child, it is removed. Then we end up
in the "// this is an insert" section of the code. The check:
if (refChild == fFirstChild)"