diff options
Diffstat (limited to 'layout/reftests/margin-collapsing/block-root-1b-ref2.html')
-rw-r--r-- | layout/reftests/margin-collapsing/block-root-1b-ref2.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/block-root-1b-ref2.html b/layout/reftests/margin-collapsing/block-root-1b-ref2.html new file mode 100644 index 0000000000..7ae45e0df0 --- /dev/null +++ b/layout/reftests/margin-collapsing/block-root-1b-ref2.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> +<head> +<style type="text/css"> +html, body { + margin: 0; padding: 0; + background-color: green; +} +div { + margin: 40px 20px; padding: 0 20px; + background-color: red; + height: 20px; +} +div div { + margin: 0; padding: 0; + background-color: blue; +} +</style> +</head> +<body> +<div><div></div></div> +</body> +</html> |