Implement MouseEvent buttons attribute

This commit is contained in:
George Roman 2019-04-22 16:53:17 +03:00
parent 425686984d
commit be3cb00c77
10 changed files with 111 additions and 36 deletions

View file

@ -1,20 +1,5 @@
[Event-subclasses-constructors.html]
type: testharness
[MouseEvent constructor (no argument)]
expected: FAIL
[MouseEvent constructor (undefined argument)]
expected: FAIL
[MouseEvent constructor (null argument)]
expected: FAIL
[MouseEvent constructor (empty argument)]
expected: FAIL
[MouseEvent constructor (argument with default values)]
expected: FAIL
[MouseEvent constructor (argument with non-default values)]
expected: FAIL

View file

@ -5,9 +5,6 @@
[MouseEvent interface: new WheelEvent("event") must inherit property "buttons" with the proper type]
expected: FAIL
[MouseEvent interface: new MouseEvent("event") must inherit property "buttons" with the proper type]
expected: FAIL
[UIEvent interface: new CompositionEvent("event") must inherit property "view" with the proper type]
expected: FAIL
@ -152,9 +149,6 @@
[WheelEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[MouseEvent interface: attribute buttons]
expected: FAIL
[MouseEvent interface: new WheelEvent("event") must inherit property "screenY" with the proper type]
expected: FAIL