These tests check that shape inside correctly offsets from the correct box-sizing box. They require the Ahem font.

The following tests check writing modes on a box with a 5 10 15 20px blue border, and 5 10 15 20px shape offsets.

xxx xxx xxx xxx
xxxx xxxx xxxx
xxxx xxxx xxxx

The following tests should look the same, but use box-sizing: border-box.

xxx xxx xxx xxx
xxxx xxxx xxxx
xxxx xxxx xxxx

The following tests add 5 10 15 20px of padding.

xxx xxx xxx xxx
xxxx xxxx xxxx
xxxx xxxx xxxx

The following tests should look the same, but use box-sizing: border-box.

xxx xxx xxx xxx
xxxx xxxx xxxx
xxxx xxxx xxxx