I have mixed feelings on this. I have had both open and closed during the visitation. (Always closed for the service.)
At my grandmother's visitation, the lid was open DESPITE her instructions to the contrary. When approached, the funeral director denied he had instructions for a closed casket...