summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_object-ref.html
blob: 8f3dd28e3e6ea2656c2dfe79ccd2dfa40af582a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<title>flexbox | object fallback as a flex item</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
div {
	background: #ffcc00;
	justify-content: space-around;
	display: flex;
}
div>* {
	background: #3366cc;
	margin: 0;
}

.clip {
	overflow: clip;
}
</style>

<div>
	<p class="clip">this is supposed to be a flex item</p>
	<p>this is supposed to be a flex item</p>
</div>