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
/
fixed-pos-scrolled-clip-1-ref.html
blob
cf4e8ac543f2144a654ba576797da3a155ee6806
1
<!DOCTYPE
html
>
2
<html>
3
4
<title>
Reference for: position:fixed with scrolled clip should prerender everything and correctly move the clip
</title>
5
6
<style>
7
8
body {
9
margin:
0
;
10
height:
4000
px;
11
}
12
13
.greenSquare {
14
position: absolute;
15
top:
300
px;
16
left:
100
px;
17
width:
200
px;
18
height:
200
px;
19
background: lime;
20
}
21
22
</style>
23
24
<div
class
=
"greenSquare"
></div>
25
26
<script>
27
28
document
.
documentElement
.
scrollTop
=
200
;
29
30
</script>