Closed Bug 206904 Opened 21 years ago Closed 3 years ago

Make .originalTarget include textnode

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: john, Unassigned)

References

Details

Right now, for mouse events that happen on a textnode, event.originalTarget is set to the parent of the textnode because mouse events can only be targeted at elements. Since bug 194802, .tmpRealOriginalTarget contains the textnode, but this is a hack.
Blocks: 194802
What will happen for text in an input? The mouse events are already targetted at the <div>...
If the mouse event was originally targeted at the text, it will be the text. This will simply cause .originalTarget to behave as it did before bug 194802.
QA Contact: desale → events
Component: Event Handling → User events and focus handling

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: john → nobody

We'd like to get rid of .originalTarget.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.