This tests that we don't cause an assertion failure when re-parenting a <tref> after temporarily removing its referenced element.
PASS