diff options
Diffstat (limited to 'layout/reftests/margin-collapsing/block-clear-2-ref.html')
-rw-r--r-- | layout/reftests/margin-collapsing/block-clear-2-ref.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/block-clear-2-ref.html b/layout/reftests/margin-collapsing/block-clear-2-ref.html new file mode 100644 index 0000000000..ed572a6f9b --- /dev/null +++ b/layout/reftests/margin-collapsing/block-clear-2-ref.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> +<head> +<!-- Without floats, no clearance applies, thus margin-top of #clear + should collapse with margin-bottom of its parent element. --> +<style type="text/css"> +.separator { + height: 20px; + margin-bottom: 20px; + background-color: green; +} +</style> +</head> +<body> +<div class="separator"></div> +<div class="separator"></div> +</body> +</html> |