A block with a bottom margin of an inch around a paragraph without margins.
An inch below the block above, and an inch above the block below.
A block with a top margin of an inch around a paragraph without margins.
Three top margins in one another collapse to the largest, 20pt.
The last child's bottom margin of 40pt wins over its block's 30pt.
After the nested blocks.
A paragraph between the text of its block.
More text of the same block, 40pt above what follows.After the block of mixed content.
The end.