layout: Implement `empty-cells` per CSS 2.1 § 17.6.1.1.

r? @SimonSapin