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
Backed out changeset ef158dc7becf (bug 1915433) for causing xpcshell failures. CLOSED...
[gecko.git]
/
layout
/
reftests
/
abs-pos
/
table-row-7.html
blob
37ec4b6211bce647a7410d08a00476fbfc968fe6
1
<!DOCTYPE
html
>
2
<html>
3
<head>
4
<style>
5
table {
6
margin:
0
;
7
padding:
0
;
8
width:
25
px;
9
height:
50
px;
10
border-collapse: collapse;
11
}
12
td {
13
margin:
0
;
14
padding:
0
;
15
}
16
#rel {
17
position: relative;
18
margin:
0
;
19
padding:
0
;
20
}
21
#abs {
22
position: absolute;
23
margin:
0
;
24
padding:
0
;
25
bottom:
25
px;
26
right:
25
px;
27
width:
50
px;
28
height:
50
px;
29
background-color: green;
30
}
31
#bottomright {
32
position: absolute;
33
margin:
0
;
34
padding:
0
;
35
bottom:
0
;
36
right:
0
;
37
width:
50
px;
38
height:
50
px;
39
overflow: visible;
40
background-color: blue;
41
}
42
</style>
43
</head>
44
<body>
45
The green square should not overlap the blue square.
46
<div
id
=
"bottomright"
>
47
<table>
48
<colgroup>
49
<col
style
=
"width: 20%"
>
50
<col>
51
</colgroup>
52
<tr>
53
<td></td>
54
<td></td>
55
</tr>
56
<tr
id
=
"rel"
>
57
<td>
58
<div
id
=
"abs"
></div>
59
</td>
60
<td></td>
61
</tr>
62
</table>
63
</div>
64
</body>
65
</html>