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
/
css
/
fixed-overlaps-absolute-in-clip.html
blob
206680c8bcab22b2fba88dd83a0bfd6b58e6e3b7
1
<!DOCTYPE
html
>
2
<style>
3
#absolute {
4
position: absolute;
5
background-color: chartreuse;
6
top:
100
px;
7
left:
100
px;
8
width:
200
px;
9
height:
200
px;
10
clip: rect(
0
,
200
px,
20
px,
0
px);
11
}
12
#fixed {
13
position: fixed;
14
top:
50
px;
15
left:
50
px;
16
background-color: salmon;
17
width:
100
px;
18
height:
100
px;
19
}
20
#overlap {
21
position:absolute;
22
background-color: pink;
23
top:
0
;
24
left:
0
;
25
height:
75
px;
26
width:
75
px;
27
transform: translateZ(
0
);
28
}
29
</style>
30
<div
id
=
"overlap"
></div>
31
<div
id
=
"absolute"
>
32
<div
id
=
"fixed"
></div>
33
</div>