When the adhesive forces between a liquid and the walls of a capillary tube are greater than the cohesive forces within the liquid.