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
no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git]
/
layout
/
reftests
/
async-scrolling
/
position-sticky-scrolled-clip-1-ref.html
blob
c07e288f5672d22738092476d96ad26f80ab4764
1
<!DOCTYPE
html
>
2
<html>
3
4
<title>
Reference for: position:sticky with scrolled clip should correctly move the clip
</title>
5
6
<style>
7
8
body {
9
margin:
0
;
10
height:
4000
px;
11
}
12
13
.halfBox {
14
position: absolute;
15
left:
0
;
16
top:
100
px;
17
width:
100
px;
18
height:
50
px;
19
box-sizing: border-box;
20
border:
1
px solid black;
21
border-bottom: none;
22
}
23
24
</style>
25
26
<div
class
=
"halfBox"
></div>
27
28
<script>
29
30
document
.
documentElement
.
scrollTop
=
100
;
31
32
</script>