This work proposes a pure-displacement formulation for topology optimization with pressure loads and the use of a continuous boundary propagation technique. This technique allows controlling the non-solid (fluid or void) constitutive behavior by disseminating the desired bulk modulus to holes in the solid domain. The novelty of the proposed approach is to enable the distribution of solid, fluid, and void simultaneously with one design variable field. A density-based topology optimization approach is considered, and a gradient-based interior point algorithm is used. The linear elasticity equilibrium equations are discretized by the finite element method and solved with a sparse direct solver. The sensitivities are calculated by the discrete adjoint method with automatic differentiation. The optimization problems encompass compliance minimization (in 2D and 3D) and a compliant mechanism design to maximize the output displacement. Three examples evaluate the proposed formulation: the internally-pressurized lid, the piston head, and the inverter-compliant mechanism. The results show that different designs are obtained by considering different constitutive behavior for the non-solid phase.