diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/flexbox_fbfc2.html')
-rw-r--r-- | testing/web-platform/tests/css/css-flexbox/flexbox_fbfc2.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/flexbox_fbfc2.html b/testing/web-platform/tests/css/css-flexbox/flexbox_fbfc2.html new file mode 100644 index 0000000000..56e71cfa40 --- /dev/null +++ b/testing/web-platform/tests/css/css-flexbox/flexbox_fbfc2.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<title>flexbox | flex formatting context :: float intrusion</title> +<link rel="author" href="http://opera.com" title="Opera Software"> +<link rel="help" + href="http://www.w3.org/TR/css-flexbox-1/#flex-containers"> +<link rel="match" href="flexbox_fbfc2-ref.html"> +<style> +* {margin: 0;} +#float { + background: lightblue; + width: 200px; + float: left; +} +#flex { + background: #ffcc00; + margin-left: -200px; + width: 400px; + display: flex; +} +div div { + margin: 2em; +} +</style> + +<div id="float">float</div> + +<div id="flex"> + <div>Yellow box yellow box yellow box</div> +</div> |