diff options
Diffstat (limited to 'layout/reftests/margin-collapsing/inline-block-child-1.html')
-rw-r--r-- | layout/reftests/margin-collapsing/inline-block-child-1.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/margin-collapsing/inline-block-child-1.html b/layout/reftests/margin-collapsing/inline-block-child-1.html new file mode 100644 index 000000000..80e3c9c68 --- /dev/null +++ b/layout/reftests/margin-collapsing/inline-block-child-1.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> +<head> +<style type="text/css"> +#parent { + display: inline-block; + background-color: green; +} +#child { + display: inline-block; + height: 40px; width: 200px; + margin: 20px 0; + vertical-align: bottom; + background-color: lightgreen; +} +</style> +</head> +<body> +<div id="parent"> + <div id="child"></div> +</div> +</body> +</html> |