Closed
Bug 120302
Opened 23 years ago
Closed 22 years ago
table cell border is not removed when cell.style.border set to ''
Categories
(Core :: DOM: CSS Object Model, defect)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
FIXED
People
(Reporter: martin.honnen, Unassigned)
References
Details
Attachments
(1 file)
When I have a table cell (<td> element) and try to remove the border by setting
cellReference.style.border = ''
the border remains visible. The code works fine in IE6.
<html>
<head>
<title>
border settings
</title>
</head>
<body>
<table>
<tr>
<td onmouseover="this.style.border = '1px dashed green'"
onmouseout="this.style.border = ''"
>
Kibology
</td>
</tr>
<tr>
<td style="border: 1px solid yellow;"
onmouseout="this.style.border = ''"
>
Kibology
</td>
</tr></table>
</body>
</html>
| Reporter | ||
Comment 1•23 years ago
|
||
Martin, is there a difference when you use setAttribute("style",....)?
Comment 4•23 years ago
|
||
Happens on Linux too.
This looks suspiciously like bug 90960 or bug 103533
OS: Windows XP → All
Hardware: PC → All
Comment 6•22 years ago
|
||
This was fixed by the checkin for bug 125246
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•