Skip to content

Commit fb944d9

Browse files
committed
test case for negative z-index below text
1 parent 564634b commit fb944d9

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

tests/cases/zindex/z-index13.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>text above children with negative z-index; z-index tests #13</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6+
<script type="text/javascript" src="../../test.js"></script>
7+
<style type="text/css">
8+
.outer {
9+
background-color:cyan;
10+
width:200px;
11+
height:200px;
12+
z-index:0;
13+
position:relative;
14+
}
15+
16+
.inner {
17+
background-color:green;
18+
width:100px;
19+
height:100px;
20+
z-index:-1;
21+
position:absolute;
22+
top:0;left:0;
23+
}
24+
</style></head>
25+
26+
<body>
27+
<div class="outer">outer
28+
<div class="inner"></div>
29+
</div>
30+
</body>
31+
</html>

0 commit comments

Comments
 (0)