diff options
Diffstat (limited to 'tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox_margin-auto-overflow-2-ref.xht')
-rw-r--r-- | tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox_margin-auto-overflow-2-ref.xht | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox_margin-auto-overflow-2-ref.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox_margin-auto-overflow-2-ref.xht new file mode 100644 index 00000000000..46199830a5d --- /dev/null +++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox_margin-auto-overflow-2-ref.xht @@ -0,0 +1,34 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head><title>flexbox | margin: auto in overflow</title> +<link href="http://opera.com" rel="author" title="Opera Software" /> +<style> +div { + background: blue; + margin: 1em 0; + border: 1px solid black; + height: 8em; + width: 32em; + position: relative; +} +span { + background: white; + margin: 0; + width: 12em; + height: 6em; + position: absolute; + left: 0; + top: 1em; + display: inline-block; +} +span+span { + background: yellow; + width: 30em; + left: 12em; +} +</style> + +</head><body><div> + <span>one</span> + <span>two</span> +</div> +</body></html>
\ No newline at end of file |