repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
block
/
positioning
/
fixed-position-stacking-context2.html
blob
066b7b7499edbd12c8d3166648a4edb3b2d17660
1
<!DOCTYPE
html
>
2
<title>
Fixed position elements do establish stacking contexts with setting enabled
</title>
3
<style>
4
div {
5
height:
100
px;
6
width:
100
px;
7
margin:
0
;
8
padding:
0
;
9
top:
0
;
10
left:
0
;
11
position:fixed;
12
}
13
14
.green {
15
position:fixed;
16
background: green;
17
z-index:
1
;
18
}
19
20
.red {
21
position:fixed;
22
background: red;
23
z-index:
2
;
24
}
25
</style>
26
<div
class
=
"green"
></div>
27
<div
class
=
"container"
>
28
<div
class
=
"green"
></div>
29
<div
class
=
"red"
></div>
30
</div>