mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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.shiftKey,
|
||||||
init.parent.metaKey,
|
init.parent.metaKey,
|
||||||
init.button,
|
init.button,
|
||||||
0,
|
init.buttons,
|
||||||
init.relatedTarget.as_deref(),
|
init.relatedTarget.as_deref(),
|
||||||
None,
|
None,
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
[Event-subclasses-constructors.html]
|
[Event-subclasses-constructors.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
[MouseEvent constructor (argument with non-default values)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[WheelEvent constructor (argument with non-default values)]
|
[WheelEvent constructor (argument with non-default values)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue