Bug 1952461 - Get rid of dom.events.mouse-pointer-boundary.keep-enter-targets-after-over-target-removed pref r=smaug
It's enabled in bug 1938528 and shipped in 135 5 weeks ago. The pref makes the complicated code harder to read. Therefore, it's helpful to get rid of this pref for the further work. Differential Revision: https://phabricator.services.mozilla.com/D240815
This commit is contained in:
@@ -8836,9 +8836,7 @@ nsresult PresShell::EventHandler::DispatchEvent(
|
||||
// new mouse/pointer boundary event feature. However, they stop dispatching
|
||||
// "pointermove" in the same case. Therefore, for now, we should do this
|
||||
// only for eMouseMove.
|
||||
if (StaticPrefs::
|
||||
dom_events_mouse_pointer_boundary_keep_enter_targets_after_over_target_removed() &&
|
||||
eventContent && aEvent->mMessage == eMouseMove &&
|
||||
if (eventContent && aEvent->mMessage == eMouseMove &&
|
||||
(!eventContent->IsInComposedDoc() ||
|
||||
eventContent->OwnerDoc() != mPresShell->GetDocument())) {
|
||||
const OverOutElementsWrapper* const boundaryEventTargets =
|
||||
|
||||
Reference in New Issue
Block a user