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
/
block
/
positioning
/
percent-top-left-on-relative-position-expected.html
blob
d51db90ef68503906834c8e97bd1cf2e4ec6db16
1
<!DOCTYPE
html
>
2
<style>
3
html,body {
4
margin:
0
;
5
padding:
0
;
6
}
7
.container {
8
height:
50
px;
9
width:
50
px;
10
background-color: orange;
11
border:
1
px solid;
12
}
13
.child {
14
margin:
20
%;
15
height:
10
px;
16
width:
10
px;
17
background-color: salmon;
18
}
19
</style>
20
<div
class
=
"container"
>
21
<div
class
=
"child"
></div>
22
</div>
23
<br>
24
<div
class
=
"container"
style
=
"overflow:scroll"
>
25
<div
class
=
"child"
></div>
26
</div>