Make `PresShell::EventHandler` computable the event target `PresShell` without processing the pending pointer captures
Categories
(Core :: DOM: Events, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file)
We need to consider whether dispatch or not pointerrawupdate events before processing pending pointer captures to keep the traditional behavior on the documents/windows which do not use pointerrawupdate events. However, currently, the computation depends on flushing the pending pointer captures. So, we need to rewrite the computation which won't depend on the pointer capture state.
| Assignee | ||
Comment 1•1 year ago
|
||
We'll need to compute the target PresShell before processing the pending
pointer capture to check whether the corresponding window needs
pointerrawupdate events (bug 1550462).
However, currently code needs to flush the pending pointer capture and that
will change the behavior in some edge cases if the window does not need
pointerrawupdate events.
Therefore, we need a code to compute the target PresShell without processing
the pending pointer capture (and also without running any script) to consider
whether PresShell dispatches a pointerrawupdate at start of handling it.
Unfortunately, the code needs to return some information for the further
handling. Therefore, this makes a new nested struct and its constructor
computes everything with/without running script.
Updated•1 year ago
|
Description
•