Open Bug 1491753 Opened 7 years ago Updated 3 years ago

Event not bubbling when pseudo-element is created

Categories

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

62 Branch
x86
Windows 10
defect

Tracking

()

Tracking Status
firefox62 --- affected
firefox63 --- affected
firefox64 --- affected

People

(Reporter: petar.dimov, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Steps to reproduce: Opened the following jsbin and clicked on the input field with value "then click here" to focus it. Actual results: Only focus event happened and in the console "Focusing input and adding ::before" was logged. Expected results: The click event should have bubbled to the container and "Click. Event successfully bubbled" should have been logged to the console as well. The event is not bubbling only when pseudo-element is created (in this case ::before).
Hi petar.dimov, I managed to reproduce the issue on the latest Nightly 64.0a1, Beta 63.0b7 and Release 62. Will set a component in order to involve the development team to review this issue. Thanks for reporting!
Status: UNCONFIRMED → NEW
Component: Untriaged → Event Handling
Ever confirmed: true
OS: Unspecified → Windows 10
Product: Firefox → Core
Hardware: Unspecified → x86
Priority: -- → P2
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.