aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-values-3_dev/html/reference/support/two-regions-in-container.html
blob: 2fc65261da031c0fa652f08a35e7ce6f4d30bc00 (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
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en"><head>
	<meta charset="UTF-8">
	<title>One region in body</title>
	<style>
	html, body {
		margin: 0;
		padding: 0;
	}
	#container {
		background: red;
	}
	#content {
		flow-into: flow;
		font-family: Ahem;
		font-size: 20px;
		line-height: 1em;
		color: green;
	}
	#region1, #region2 {
		flow-from: flow;
	}
	</style>
</head>
<body>
	<div id="container">
		<!-- The &#8203; entity is a zerowidth space. It enables me to create nicely reflowing rectangles of Ahem text -->
		<div id="content">
			xxxx&#x200B;xxxx&#x200B;xxxx&#x200B;xxxx&#x200B;xxxx&#x200B;xxxx&#x200B;xxxx&#x200B;xxxx
		</div>
	</div>
	<div id="region-parent">
		<div id="region1"></div>
		<div id="region2"></div>
	</div>
	<script src="util.js" type="text/javascript"></script>

</body></html>