Test anonymous boxes removal on style change. This should not crash or hang. Render tree dump should not gain additional anonymous boxes.