Answer :

Well it depends on if the pan is boiling, if its boiling, the water will evaporate. Therefor, this would be gas. 
You can observe the density because you would be measuring the mass of the volume. Water is made of dense material, so it would have less volume.