summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_object.html
blob: 701af7b78b6af3ea084ad3529adb9c5bda45ea34 (plain)
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
<!DOCTYPE html>
<title>flexbox | object fallback as a flex item</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="help"
	href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property">
<link rel="match" href="flexbox_object-ref.html">
<style>
div {
	background: #ffcc00;
	justify-content: space-around;
	display: flex;
}
div>* {
	background: #3366cc;
	margin: 0;
}

object {
	overflow: clip;
}
</style>

<div>
	<object>this is supposed to be a flex item</object>
	<p>this is supposed to be a flex item</p>
</div>