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-cell-4.html
blob
9831b5c9910bfc9ead6b323eea62902907b69562
1
<!DOCTYPE
html
>
2
<html>
3
<head>
4
<style>
5
table {
6
width:
300
px;
7
height:
300
px;
8
background-color: blue;
9
}
10
td, div {
11
margin:
0
;
12
padding:
0
;
13
}
14
#rel {
15
position: relative;
16
margin:
0
;
17
padding:
0
;
18
}
19
#abs {
20
position: absolute;
21
margin:
0
;
22
padding:
0
;
23
top:
200
px;
24
left:
25
px;
25
width:
50
px;
26
height:
50
px;
27
background-color: green;
28
}
29
</style>
30
</head>
31
<body>
32
The green square should not touch the blue square.
33
<table>
34
<colgroup>
35
<col
style
=
"width: 15%"
>
36
<col>
37
</colgroup>
38
<tr>
39
<td></td>
40
<td></td>
41
</tr>
42
<tr>
43
<td
id
=
"rel"
>
44
<div
id
=
"abs"
></div>
45
</td>
46
<td></td>
47
</tr>
48
</table>
49
</body>
50
</html>