Open Bug 1470876 Opened 6 years ago Updated 2 years ago

The selectionchange event fires before the focus event, only when the document had no focus

Categories

(Core :: DOM: Events, defect, P3)

60 Branch
defect

Tracking

()

Tracking Status
firefox106 --- affected

People

(Reporter: dgray90, Unassigned)

Details

(Keywords: parity-chrome, testcase)

Attachments

(1 file)

Attached file ff-test.html
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Steps to reproduce:

Open the attached HTML document and open the console. Click in the console. Then click in the cyan span within the editing host.


Actual results:

The selection change event fires before the focus events.


Expected results:

The selectionchange event should have fired after the focus events, just like any other time focus causes selectionchange.
Has STR: --- → yes
Component: Untriaged → DOM: Events
Keywords: testcase
Product: Firefox → Core
Priority: -- → P3
Keywords: parity-chrome

Still reproducible on version 106.0a1 (2022-09-07) (64-bit) on macOS.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: