Spec says 'When the event is created by the user agent the following attributes of the coalesced events will always have the same value as the dispatched event'
The test case pointerevent_constructor.html dispatches a JS created event and expects that some attributes (e.g. target, pointerId, pointerType, isPrimary) are set up as the same as the dispatched event. Looks like the test expects that these attributes are set up for all events no matter whether they are created by the UA or JS.
Wondering whether the behavior of the spec or the test case is expected?
Spec says 'When the event is created by the user agent the following attributes of the coalesced events will always have the same value as the dispatched event'
The test case pointerevent_constructor.html dispatches a JS created event and expects that some attributes (e.g. target, pointerId, pointerType, isPrimary) are set up as the same as the dispatched event. Looks like the test expects that these attributes are set up for all events no matter whether they are created by the UA or JS.
Wondering whether the behavior of the spec or the test case is expected?