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)
Tracking
()
RESOLVED
INVALID
People
(Reporter: leeoniya, Unassigned)
Details
Attachments
(1 file)
|
815 bytes,
text/html
|
Details |
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
| Reporter | ||
Comment 1•18 years ago
|
||
Updated•18 years ago
|
Component: General → DOM: Events
Product: Firefox → Core
QA Contact: general → events
Comment 2•18 years ago
|
||
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.
Comment 3•17 years ago
|
||
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.
Description
•