Closed
Bug 124492
Opened 23 years ago
Closed 23 years ago
Table style background color cannot be changed via javascript
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: jroller, Assigned: dbaron)
Details
Attachments
(1 file)
872 bytes,
text/html
|
Details |
Using javascript getElementbyID(elem_id).style.backgroundcolor= when elem_id is
a <table> element only works once. Other element types <div>, <tr>, etc, seem
to be able to change colors multiple times just fine.
When the element is viewed in the DOM inspector, it will show that
background-color has been set, but the browser only displays the first color
that it was set to.
Reporter | ||
Comment 1•23 years ago
|
||
Test case allowing you to click and change background color of various
elements. Table will change colors only once. (TR doesn't change colors
after TD background has been set, but that actually makes sense)
![]() |
||
Comment 2•23 years ago
|
||
Style system. This is yet another "dynamic style changes on tables don't work"
bug (pierre already has a few).
Assignee: jst → dbaron
Component: DOM Style → Style System
dup
*** This bug has been marked as a duplicate of 91443 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•