[w3c/uievents] `MouseEvent.buttons` explanation of `contextmenu` event should mention about the platform dependency (Issue #326)

`MouseEvent.buttons` of [contextmenu event](https://w3c.github.io/uievents/#event-type-contextmenu) should mention about the platform dependency.

On Windows, context menu should be opened when mouse button is released. However, on the other platforms, it may be not. Therefore `buttons` won't contain the mouse button triggering to open the context menu on Windows, but may contain on the other platforms.

There is a note like:
> Depending on the platform, the [contextmenu](https://w3c.github.io/uievents/#contextmenu) event may be dispatched before or after the [mouseup](https://w3c.github.io/uievents/#mouseup) event.

But I think that this is not enough for `buttons`.

(Coming from https://bugzilla.mozilla.org/show_bug.cgi?id=1770671)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/326
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/issues/326@github.com>

Received on Tuesday, 24 May 2022 15:04:17 UTC