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
/
abs-pos
/
table-internal-6-ref.html
blob
704776dc59b36fd0d01c75bba439470118041d79
1
<!DOCTYPE
html
>
2
<html>
3
<head>
4
<style>
5
table {
6
margin:
0
;
7
padding:
0
;
8
width:
50
px;
9
height:
50
px;
10
border-collapse: collapse;
11
background-color: blue;
12
}
13
td {
14
margin:
0
;
15
padding:
0
;
16
}
17
#rel {
18
position: relative;
19
margin:
0
;
20
padding:
0
;
21
}
22
#abs {
23
position: absolute;
24
margin:
0
;
25
padding:
0
;
26
bottom:
25
px;
27
right:
25
px;
28
width:
50
px;
29
height:
50
px;
30
background-color: green;
31
}
32
#bottomright {
33
position: absolute;
34
margin:
0
;
35
padding:
0
;
36
bottom:
0
;
37
right:
0
;
38
width:
50
px;
39
height:
50
px;
40
overflow: visible;
41
background-color: red;
42
}
43
</style>
44
</head>
45
<body>
46
The green square should not overlap the blue square.
47
<div
id
=
"bottomright"
>
48
<table>
49
<tr>
50
<td></td>
51
<td></td>
52
</tr>
53
<tr
style
=
"height: 100%"
>
54
<td></td>
55
<td></td>
56
</tr>
57
<tr>
58
<td>
59
<div
id
=
"rel"
>
60
<div
id
=
"abs"
></div>
61
</div>
62
</td>
63
<td></td>
64
</tr>
65
</table>
66
</div>
67
</body>
68
</html>