Re: Confusing thing about lostpointercapture event

I meant that according to 10.3.1 lostpointercapture must be fired at
DOCUMENT while 5.2.2 states that lostpointercapture could be fierd ONLY at
ELEMENT. So I'd like to clarify, on where event should be fired.
For example, I try to execute code like ('ongotpointercapture' in window)
and ('onlostpointercapture' in document). These code return different
values in IE and FF. All additionally information was attached to bug
1036817 at https://bugzilla.mozilla.org/show_bug.cgi?id=1036817

Thanks, Maksim Lebedev.

2014-09-01 15:41 GMT+04:00 Scott González <scott.gonzalez@gmail.com>:

> Firing at the node would mean that the event can't bubble through the
> document. Do you suggestions on different behaviors or use cases where this
> will be problematic?
>
> On Monday, September 1, 2014, Maksim Lebedev <alessarik@gmail.com> wrote:
>
>> Hi folks.
>>
>> Latest draft of specification of pointer events have point 10.3.1
>> Implicit Release of Pointer Capture:
>> If the pointer capture target override is removed from the document tree,
>> clear the pending pointer capture target override and pointer capture
>> target override nodes and fire a Pointer Event named lostpointercapture at
>> the document.
>>
>> But according with point 5.2.2 List of Pointer Events
>> lostpointercapture event can be fired only at element.
>>
>> This dissonance has confusing actions for me. Maybe we should change
>> something?
>>
>> Thanks, Maksim Lebedev.
>>
>

Received on Tuesday, 2 September 2014 08:49:36 UTC