In a lithographic projection apparatus, a structure surrounds a space between
the projection system and a substrate table of the lithographic projection apparatus.
A gas seal is formed between said structure and the surface of said substrate to
contain liquid in the space.