The green rectangles should appear within the blue outline.

XXX X

This is the same test as the one above, except that the shape-inside's content has trailing whitespace.

XXX X