Closed
Bug 19038
Opened 25 years ago
Closed 25 years ago
toggling COL.style.visibility = 'collapse'/'visible' looses content
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
People
(Reporter: martin.honnen, Assigned: vidur)
References
()
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
When toggling the visibility of a COL element the table column gets first
removed and then reappears with its width and background color but without the
cells' contents.
<SCRIPT>
var visible = true;
</SCRIPT>
</HEAD>
<BODY>
<BUTTON ONCLICK="var col = document.getElementById('Name'); col.style.visibility
= visible ? 'collapse' : 'visible'; visible = !visible;">
toggle visibility
</BUTTON>
<BR>
<TABLE>
<CAPTION>
Gods
</CAPTION>
<COL ID="Name" ONCLICK="alert(event.type);">
<COL ID="Home"
<COL ID="Power">
<TR BGCOLOR="blue">
<TH>
Name
</TH>
<TH>
Home
</TH>
<TH>
Power
</TH>
</TR>
<TR BGCOLOR="lime">
<TD>
Kibo
</TD>
<TD>
www.kibo.com
</TD>
<TD>
42
</TD>
</TR>
<TR BGCOLOR="yellow">
<TD>
Xibo
</TD>
<TD>
www.xibo.com
</TD>
<TD>
-42
</TD>
</TR>
</TABLE>
Reporter | ||
Comment 1•25 years ago
|
||
Assignee | ||
Comment 2•25 years ago
|
||
In an attempt to get my bug list in order again, marking all the bugs I have
currently as ASSIGNED.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Component: DOM Level 2 → HTMLTables
Resolution: --- → DUPLICATE
I'm guessing this is a DUP of 18962. Also changing component to HTML tables
*** This bug has been marked as a duplicate of 18962 ***
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
[bugday] the same. read both. looks like it's the same bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•