A slab that is adjacent to two water source blocks does not become waterlogged if it has an air block underneath it. Tested with smooth stone slab and oak planks slab.