summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-masking/clip-path/reference/clip-path-stripes-003-ref.html
blob: f4b7fa10f2d2b98e8bf027dbf898100385867777 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
	<title>CSS Masking: Reftest reference</title>
	<link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
	<meta name="flags" content="ahem">
	<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
body {
	margin: 0;
}
div {
	height: 20px;
	background-color: green;
	padding: 0;
	margin: 0;
	font: 20px/1 Ahem;
}
div:nth-child(odd) {
	margin-bottom: 5px;
	background-color: blue;
}
</style>
<body>
	<p>The test passes if you see a multiple green and blue stripe pairs. For each pair, the blue and green stripe must be of same length.</p>
	<div style="width: 50%"></div>
	<div style="width: 50%"></div>

	<div style="width: 20em"></div>
	<div style="width: 20em"></div>

	<div style="width: 50vw"></div>
	<div style="width: 50vw"></div>

	<div style="width: 40vh"></div>
	<div style="width: 40vh"></div>

	<div style="width: calc(30% + 15px)"></div>
	<div style="width: calc(30% + 15px)"></div>

	<div style="width: 30ex"></div>
	<div style="width: 30ex"></div>
</body>
</html>