Oops, got it back to front!
In that case, the website is quoting the volume of water it will hold, though some will be displaced by the substrate, decor etc. The height measurement they give will be the height of the glass, which will include some air space on top of the water and might even include the hood if it sticks up higher than the top of the glass.