Closed Bug 1938528 Opened 1 year ago Closed 1 year ago

Enable the new mouse/pointer boundary behavior in release

Categories

(Core :: DOM: UI Events & Focus Handling, task)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
relnote-firefox --- 135+
firefox135 --- fixed

People

(Reporter: hsinyi, Assigned: masayuki)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We enabled the behavior in nightly/early-beta for months.
We didn't ship the new behavior to release back than, because of the alignment with Chrome at that time , see bug 1875424 comment 3. But it looks like Chrome have the same behavior on Release/Stable and Experimental channels, according to the wpt results. We can try to let the new behavior riding trains to release.

Indeed. Let's enable the new behavior.

Assignee: nobody → masayuki
Status: NEW → ASSIGNED
OS: Unspecified → All
Hardware: Unspecified → All
See Also: → 1875424

(Oddly, I don't find the change which enabled the new behavior in the release channel in their repository...)

In bug 1875424, I disabled the new behavior because of compatibility with
Chrome. However, it seems that they shipped the new feature. So, following
them is better for compatibility with them.

Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/76ee1ce0de55 Enable new mouse and pointer boundary event behavior in the release channel r=smaug
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch

Is this something we should call out in the Fx135 relnotes? Please add a relnote-firefox request if so.

Flags: needinfo?(masayuki)
Duplicate of this bug: 1878052

Release Note Request (optional, but appreciated)
[Why is this notable]: This changes traditional behavior of mouseenter, mouseleave, pointerenter and pointerleave events when the last mouseover or pointerover event target is removed.
[Affects Firefox for Android]: Yes
[Suggested wording]: Even after the last event target of mouseover or pointerover is removed from the DOM tree, the last deepest mouseenter and pointerenter target which is still connected is stored correctly. Thus, the ancestor elements of the removed target will receive mouseleave and pointerleave events without redundant mouseenter and pointerenter events.
[Links (documentation, blog post, etc)]: The last paragraph of https://w3c.github.io/pointerevents/#dfn-fire-a-pointer-event

relnote-firefox: --- → ?
Flags: needinfo?(masayuki)

Added to the Fx135 relnotes.

Depends on: 1943411
No longer depends on: 1943411
See Also: → 1943411
No longer regressions: 1955146
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: