summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-shadow/boxshadow-large-offset.html
blob: 5df87c368b70bb55155641be6bb94d5eb5ef1f49 (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
45
46
47
48
49
<!DOCTYPE html>
<html>
<style>
.test {
  background-color: #fec;
  display: inline-block;
  width: 800px;
  height: 800px;
}

.second {
  box-shadow: inset 0 400px 1px 0px red;
}

.leftCut {
  position: absolute;
  margin-left: 0px;
  margin-top: 0px;
  width: 10px;
  height: 800px;
  background-color: black;
}

.rightCut {
  position: absolute;
  margin-left: 790px;
  margin-top: 0px;
  width: 10px;
  height: 800px;
  background-color: black;
}

.centerCut {
  position: absolute;
  margin-top: 395px;
  width: 800px;
  height: 20px;
  background-color: black;
}

</style>

<body>
<div class="leftCut"></div>
<div class="rightCut"></div>
<div class="centerCut"></div>
<div class="test second"></div>
</body>
</html>