This tests that we do not crash when LayoutCounter traverses detached render trees. PASS