Closed
Bug 164840
Opened 21 years ago
Closed 21 years ago
Colour sticks when setting *.style.background via JavaScript [inline]
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: marcus, Assigned: dbaron)
References
Details
Attachments
(1 file)
2.86 KB,
text/html
|
Details |
2002082508, WinNT I wrote a JavaScript function that toggles the background colour of table cells on mouseover / mouseout of images and links by setting a colour value to *.style.background, however, it doesn't work as expected. On first mouseover the colour changes, sticks and doesn't reset on mouseout. Only after you mouseover again, does it begin to work properly. (Plus, when I was using an image with transparency, the background colour wasn't rendering to the full width of the cell on first mouseover.) It works fine when you set *.style.backgroundColor instead.
Reporter | ||
Comment 1•21 years ago
|
||
![]() |
||
Comment 2•21 years ago
|
||
To tables... I see this on Linux too.
Assignee: jst → karnaze
Component: DOM Style → HTMLTables
OS: Windows NT → All
QA Contact: ian → amar
Hardware: PC → All
Assignee | ||
Comment 3•21 years ago
|
||
Seems more like a style system bug to me.
Assignee: karnaze → dbaron
Component: HTMLTables → Style System
QA Contact: amar → ian
![]() |
||
Updated•21 years ago
|
Summary: Colour sticks when setting *.style.background via JavaScript → Colour sticks when setting *.style.background via JavaScript [inline]
![]() |
||
Comment 5•21 years ago
|
||
Please retest with tomorrow's build (I cannot reproduce this in a current nightly without the patch for bug 171830 even, so....)
Comment 6•21 years ago
|
||
wfm with a current nightly (Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4b) Gecko/20030414) as well as with Moz1.4a on win98 using the testcase.
![]() |
||
Comment 7•21 years ago
|
||
marking so.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•