Tests invalidation and painting of descendants of an element adding transform.