summaryrefslogtreecommitdiff
path: root/layout/reftests/css-blending/mix-blend-mode-child-of-blended-has-opacity-ref.html
blob: 89f580bbb7d210c7d2ebb6d84fa8ea722ccc74a3 (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
<!DOCTYPE html>
<html>
	<head>
		<title>CSS Reftest Reference</title>
		<link rel="author" title="Mirela Budăeș" href="mailto:mbudaes@adobe.com">
		<style>
			.parent {
				opacity: 0.9;
				background: yellow;/*rgb(255,255,0);*/
				margin: 30px;
				width: 120px;
				height: 120px;
				display: inline-block;
			}
			.blended {
				width: 100px;
				height: 100px;
				background: aqua;/*rgb(0,255,255);*/
				display: inline-block;
				margin-top: 10px;
				margin-left: 10px;
			}
			.childBlended {
				background: lime;/*rgb(0,255,0);*/
				width: 80px;
				height: 80px;
				margin-top: 10px;
				margin-left: 10px;
				opacity: 0.99;
			}
		</style>
	</head>
	<body>
		<div class="parent">
			<div class="blended">
				<div class="childBlended"></div>
			</div>
		</div>
	</body>
</html>