finish painting and css2 visual model