as far as removing kids from their old parent, working with document fragments, etc. Mostly just makes nsDocument and nsGenericElement share code. Bug 278472, r=peterv, sr=jst, a=asa git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181384 18797224-902f-48f8-a5cc-f745e15eee43