diff options
Diffstat (limited to 'layout/reftests/margin-collapsing/inline-block-child-3.html')
-rw-r--r-- | layout/reftests/margin-collapsing/inline-block-child-3.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/inline-block-child-3.html b/layout/reftests/margin-collapsing/inline-block-child-3.html new file mode 100644 index 0000000000..e0bd8ae1db --- /dev/null +++ b/layout/reftests/margin-collapsing/inline-block-child-3.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html> +<head> +<style type="text/css"> +body { + margin: 0; +} +#block { + background-color: green; + margin: 10px 0; +} +#inline-block { + display: inline-block; + margin: 10px 0; + background-color: lightgreen; +} +</style> +</head> +<body> +<div id="block"><div id="inline-block">Hello Kitty</div></div> +</body> +</html> |