Implement a missing step in the node 'insert' algorithm.
auto merge of #1225 : Ms2ger/servo/insert-docfrag, r=jdm