mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #6691 - glennw:mouse-which, r=jdm
Implement mouseevent.which (needed for enyojs sampler). <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6691) <!-- Reviewable:end -->
This commit is contained in:
commit
ff86e0094c
4 changed files with 20 additions and 2 deletions
|
@ -19,6 +19,9 @@ interface MouseEvent : UIEvent {
|
|||
// Introduced in DOM Level 3
|
||||
//readonly attribute unsigned short buttons;
|
||||
//boolean getModifierState (DOMString keyArg);
|
||||
|
||||
[Throws]
|
||||
readonly attribute long which;
|
||||
};
|
||||
|
||||
// https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#idl-def-MouseEventInit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue