repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1837620 - Part 6: Make edges for multiple shape guard weak too r=sfink
[gecko.git]
/
layout
/
reftests
/
async-scrolling
/
position-fixed-inside-clip-path-ref.html
blob
6832fa2bf65a0919aab585902c81e8a9a7c254f6
1
<!DOCTYPE
html
>
2
<html>
3
<style>
4
body {
5
height:
4000
px;
6
margin:
0
;
7
overflow: hidden;
8
}
9
#clip {
10
position: absolute;
11
top:
450
px;
12
left:
300
px;
13
background: red;
14
width:
400
px;
15
height:
400
px;
16
clip-path: inset(
0
);
17
}
18
#fixed {
19
position: fixed;
20
top:
0
;
21
left:
0
;
22
right:
0
;
23
bottom:
0
;
24
background: linear-gradient(green, blue);
25
}
26
</style>
27
<div
id
=
"clip"
>
28
<div
id
=
"fixed"
></div>
29
</div>