style not being removed on rootless tree ref #17978