Allowing the specification of targetRanges and dataTransfer has been possible in Firefox and Chromium for some time - but not Webkit. There is now a PR to make this happen in Webkit as well [1].
@whsieh writes:
It seems like the spec doesn't include these two arguments, but testing in Chrome and Firefox, I can see that they both allow you to specify targetRanges and dataTransfer in InputEventInit, so this change would align with Firefox/Chrome. It seems that the spec just needs to be updated.
Note that specifying target ranges has been discussed earlier [2] and it was argued there that the spec now contains everything needed to make dataTransfer/targetRanges part of InputEventInit.
Allowing the specification of targetRanges and dataTransfer has been possible in Firefox and Chromium for some time - but not Webkit. There is now a PR to make this happen in Webkit as well [1].
@whsieh writes:
Note that specifying target ranges has been discussed earlier [2] and it was argued there that the spec now contains everything needed to make
dataTransfer
/targetRanges
part ofInputEventInit
.[1] https://github.com/WebKit/WebKit/pull/19346
[2] https://github.com/w3c/input-events/issues/47