summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/991046-1-ref.html
blob: e287dfb753a508aba5c4d3f22d2a7776831c02f0 (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
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"><title>box-shadow + transparent background + opacity =&gt; overflow hidden does not work</title></head>
<body>
<style>
#parent {
    width: 200px;
    height: 200px;
    background-color: #BADA55;
    overflow: hidden;
    position: relative;
}

#child {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50px;
    top: 50px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
</style>

<div id="parent">
	<div id="child"></div>
</div>


</body></html>