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 d8f0ba47e216 (bug 1919532) for causing failures at test_WebCrypt...
[gecko.git]
/
layout
/
tables
/
reftests
/
1220621-2a.html
blob
a66768e0fc5c8f3178a66ef651c21364a360d095
1
<!DOCTYPE
html
>
2
<style>
3
table {
4
table-layout: fixed;
5
border:
1
px solid black;
6
width:
300
px;
7
}
8
td {
9
background: yellow;
10
border:
1
px solid purple;
11
}
12
</style>
13
<table>
14
<colgroup>
15
<col>
16
<col>
17
<col>
18
</colgroup>
19
<tbody>
20
<td>
One
</td>
21
</tbody>
22
</table>
23
<script>
24
var
t
=
document
.
querySelector
(
"table"
);
25
// Flush layout
26
var
width
=
t
.
offsetWidth
;
27
// Remove the first col
28
document
.
querySelector
(
"col"
).
remove
();
29
</script>