Closed Bug 197593 Opened 21 years ago Closed 21 years ago

Table cell background image cannot be changed dynamically

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 195261

People

(Reporter: mitja.lustrek, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312

Table cells have background images. I want to change them in onMouseOver 
event, but it doesn't work. In the above page, the red light in menu buttons 
on the left should light up when mouse passes over them, but it doesn't (at 
least not in Mozilla - it works fine in IE 6.0).

When I check cell.background (before changing it), it's 'undefined'. After 
changing it, it has the appropriate value, but the image itself stays unchaged.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
"background" is not a valid attribute of <td>; it appears that we map the
attribute to CSS, but we don't reflect it in the DOM, so trying to change
this.background on a <td> has no effect. 

*** This bug has been marked as a duplicate of 195261 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.