The tendency of a liquid to spread on, or adhere to, a solid surface in the presence of other immiscible fluids.