CSS 2.1 §10.6.3 defines auto-height as the distance from the content top to the last in-flow child's margin-box bottom. Large negative margins can make this negative, which has no geometric meaning. Clamp to 0 to match browser behavior and fix Acid2 .empty div layout. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
593 B
593 B