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 1858983 [wpt PR 42532] - Update wpt metadata, a=testonly
[gecko.git]
/
layout
/
reftests
/
meta-viewport
/
initial-scale-1.html
blob
dbba24bab96226017ef64c01ddc87d282525bcf8
1
<!DOCTYPE
html
>
2
<meta
name
=
"viewport"
content
=
"initial-scale=1,width=device-width,minimum-scale=1"
>
3
<style>
4
html, body {
5
margin:
0
;
6
width:
100
%;
7
height:
100
%;
8
}
9
#container {
10
min-width:
1600
px; /* this value should be double of viewport width */
11
position: relative;
12
}
13
#inner {
14
position: absolute;
15
top:
0
;
16
right:
0
;
17
width:
100
px;
18
height:
100
px;
19
background: green;
20
}
21
</style>
22
<div
id
=
"container"
>
23
<div
id
=
"inner"
></div>
24
</div>