aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox_fbfc2-ref.xht
blob: d7a6fe332116a88953e7daa62a82f6b8849ed214 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!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 | flex formatting context :: float intrusion</title>
<link href="http://opera.com" rel="author" title="Opera Software" />
<style>
* {margin: 0;}
#float {
	background: lightblue;
	width: 200px;
	float: left;
}
#flex {
	background: #ffcc00;
	margin-left: -200px;
	width: 400px;
	overflow: hidden;
}
div div {
	margin: 2em;
}
</style>

</head><body><div id="float">float</div>

<div id="flex">
	<div>Yellow box yellow box yellow box</div>
</div>
</body></html>