mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Properly set MouseEvent buttons property
This commit is contained in:
parent
9640ad1ccf
commit
3a8d306281
2 changed files with 1 additions and 4 deletions
|
@ -137,7 +137,7 @@ impl MouseEvent {
|
|||
init.parent.shiftKey,
|
||||
init.parent.metaKey,
|
||||
init.button,
|
||||
0,
|
||||
init.buttons,
|
||||
init.relatedTarget.as_deref(),
|
||||
None,
|
||||
);
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
[Event-subclasses-constructors.html]
|
||||
type: testharness
|
||||
[MouseEvent constructor (argument with non-default values)]
|
||||
expected: FAIL
|
||||
|
||||
[WheelEvent constructor (argument with non-default values)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue