Closed Bug 77622 Opened 23 years ago Closed 20 years ago

onmouse[out|over] events don't work with TRs when page was created with document.write

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows 2000
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: aevans, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

944 bytes, application/octet-stream
Details
When you use document.write() to create a page in another frame, that page contains a table, a row in that table has a mouseover/mouseout event assigned, and that event uses this.className to change its parent row's style, behavior isn't what you would expect. In some cases (like the attached test case), there is a flicker when you move your mouse over the row, but the row's attributes do not visibly change. In other cases (which I haven't taken the time to reproduce), the row display attributes don't physically change at all. Other attributes of the class are applied properly (like changing the mouse pointer). The problem doesn't occur with other tags, like <TABLE>, <TD> or <SPAN>, merely with the <TR> tag. I've worked around it by embedding a table in each of my rows and dealing with TDs of the outer table and the TABLE tag of the inner table. Very ugly, but it works. I've have not attached my work-around.
Attached file test case
Keywords: testcase
Well, I tested your testcase in Win98 / 2001051704, and I see the problem too. I would confirm it if I had access to do that. ;)
And now I do!
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #32212 - Attachment mime type: application/octet-stream → text/html
Attachment #32212 - Attachment mime type: text/html → application/octet-stream
Temporarily moving to future until a milestone can be assigned.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
mass reassign to default owner
Assignee: karnaze → table
Status: ASSIGNED → NEW
QA Contact: amar → madhur
Target Milestone: Future → ---
Priority: -- → P3
Target Milestone: --- → Future
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040221 Firefox/0.8.0+
Testcase WFM, Mozilla 1.8a5, Gecko/20041105.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: