summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/preserves3d-nested-filter-1.html
blob: d25df6169c96765a498c04bccd011e4f8d2a16ba (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
<!DOCTYPE html>
<html>
<head>
<title>Green square</title>
<style>
.filter {
  filter: brightness(0.75);
}

.container {
  width: 200px;
  height: 200px;

  transform-style: preserve-3d;
  background-color: red;
}

.square {
  position: absolute;

  width: 200px;
  height: 200px;

  transform-style: preserve-3d;
  background-color: green;
}
</style>
</head>
<body>

<div class="filter">
  <div class="container">
    <div class="square"></div>
  </div>
</div>

</body>
</html>