Open
Bug 1710784
(enqueue-editing-mutation-events)
Opened 4 years ago
Updated 2 years ago
Enqueue DOM event dispatching between `beforeinput` event and `input` event
Categories
(Core :: DOM: Editor, enhancement, P3)
Core
DOM: Editor
Tracking
()
ASSIGNED
People
(Reporter: masayuki, Assigned: masayuki)
References
(Depends on 2 open bugs, Blocks 3 open bugs)
Details
Both Blink and WebKit enqueue dispatching events between beforeinput
event and input
event. We should follow it because:
- Web apps get more similar behavior as Blink/WebKit than now
beforeinput
allows web apps to catch to change the DOM tree without legacy mutation events- It makes editor code simpler
- It might improve the performance of editor
Of course, even if we don't dispatch beforeinput
event for conforming to the spec, we should enqueue them until dispatching input
event.
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Alias: enqueue-editing-mutation-events
Assignee | ||
Comment 1•2 years ago
|
||
Marking this as a blocker of crash bugs and assertion failure bugs which are caused by event listeners which run while editor handles something.
You need to log in
before you can comment on or make changes to this bug.
Description
•