Liquid foam gasket