Closed Bug 414099 Opened 18 years ago Closed 17 years ago

addEventListener on <TR> table row element returns tableCell as the event's "target"

Categories

(Core :: DOM: Events, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: leeoniya, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008012504 Minefield/3.0b3pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008012504 Minefield/3.0b3pre When an eventListener is added to a <TR> table row element, the event.target registers as tableCell. i only tested the "click" event. Reproducible: Always Steps to Reproduce: 1. Open the test case file. 2. Click the second row in the table with "cell1","cell2"..etc. Actual Results: event.target = tableCell element Expected Results: event.target = tableRow element
Attached file sample of bug
Component: General → DOM: Events
Product: Firefox → Core
QA Contact: general → events
I'm not sure this bug is valid. The target is probably the table cell (since we can't render any part of the row outside of cells), and the currentTarget property would be the table row element.
Yeah, this looks invalid given that testcase.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: