Bug 262661
| Summary: | [PointerEvents] preventsCompatibilityMouseEvents is not being reset on Pointer[Up/Cancel] dispatch | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
| Component: | UI Events | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | NEW | ||
| Severity: | Normal | CC: | a_protyasha, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=262723 | ||
Abrar Rahman Protyasha
As described in https://www.w3.org/TR/pointerevents/#mapping-for-devices-that-support-hover, whenever a UA dispatches a pointer event:
> "6. If the pointer event dispatched was pointerup or pointercancel, clear the PREVENT MOUSE EVENT flag for this pointerType."
We make sure to implement the earlier case (#4) of setting the PREVENT MOUSE EVENT flag if the pointer event dispatched was pointerdown and the event was canceled, but not this case. Let's fix that.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/116490176>
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/18657