green blocks get scrollbars, yellow do not.

Block child gets block and inline padding.

Inline child gets block and inline padding.

X
XX
XX
X

Inline block child gets block and inline padding.

Padding applies to linebox, not linebox overflow.