Apply a natural box layout model to all elements; see #341.