summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats/negative-block-margin-pushing-float-out-of-block-formatting-context-ref.html
blob: 09a0ed094f8eb82f9fa25c4f09bb3f8a1f79c4c9 (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>

<link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com" />
<meta name="assert" content="When a floating box has a negative margin negative enough that it pushes the float past the top of the block formatting context, it should render properly."/>

<body>
<div style="width: 50px; height: 50px; background: green;"></div>
</body>