Closed Bug 1014592 Opened 10 years ago Closed 10 years ago

[Shadow-DOM] Only <button> elements receive 'click' events

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 887541

People

(Reporter: wilsonpage, Assigned: wchen)

References

(Blocks 1 open bug)

Details

(Whiteboard: [2.1-feature-qa+])

In the world of the Shadow-DOM only <button> elements receive clicks. Projected content always receives clicks (no matter what tag), and clicks will propagate to non <button> elements, so long as the event.target is a <button>. EXAMPLE http://jsbin.com/cigac/7/quiet
Assignee: nobody → wchen
QA Whiteboard: [2.1-feature-qa+]
QA Whiteboard: [2.1-feature-qa+] → [2.1-feature-qa-]
Whiteboard: [2.1-feature-qa+]
QA Whiteboard: [2.1-feature-qa-]
Flags: in-moztrap-
Andrew - Is this still planning to happen in 2.1 or is this being moved to a future release?
Flags: needinfo?(overholt)
Shouldn't this be fixed now?
Flags: needinfo?(wilsonpage)
Ah, wilson is on pto.
Flags: needinfo?(wilsonpage) → needinfo?(wchen)
I tested with nightly and all the event stuff is working as a result of bug 887541.
Flags: needinfo?(wchen)
William - Should we close this then?
Flags: needinfo?(overholt) → needinfo?(wchen)
QA Whiteboard: [2.1-feature-slip?]
Yeah, this bug should be closed.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(wchen)
Resolution: --- → DUPLICATE
QA Whiteboard: [2.1-feature-slip?]
No QA planned, so marking verified.
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.