Class InkCollector helps fire POINTER_LEAVE event for PEN device in some case. Current implementation: Activation of InkCollecor class needs that PEN device will be touched (In this case MOUSE_DOWN will be fired). Should it behavior be changed for detect just first PEN event? (For example MOUSE_MOVE, not only MOUSE_DOWN)
Could You please notify your opinion about changing such behavior?
Yes, this should be fixed. We should dispatch a pointerleave event whenever a pen moves out of the hit test boundaries of an element and its descendants, whether the pen is down or not. Related to this, the spec also says "User agents MUST also fire a pointer event named pointerleave when a pen stylus leaves hover range detectable by the digitizer."
Created attachment 8605229 [details] [diff] [review] pen_activation_ver1.diff + Added: InkCollector class activates at first PEN event. Suggestions and comments and objections are very welcome.
Comment on attachment 8605229 [details] [diff] [review] pen_activation_ver1.diff Looks ok to me code wise.
Attachment #8605229 - Flags: review?(jmathies) → review+
If there are no objections, I put checkin-needed flag.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
status-firefox41: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
You need to log in before you can comment on or make changes to this bug.