mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
18
tests/content/test_MouseEvent.html
Normal file
18
tests/content/test_MouseEvent.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<html>
|
||||
<head>
|
||||
<script src="harness.js"></script>
|
||||
<script>
|
||||
is_function(MouseEvent, "MouseEvent");
|
||||
|
||||
let ev = new MouseEvent("press", {bubbles: true, screenX: 150, detail: 100});
|
||||
|
||||
is_a(ev, Event);
|
||||
is_a(ev, UIEvent);
|
||||
is_a(ev, MouseEvent);
|
||||
is(ev.screenX, 150);
|
||||
is(ev.detail, 100);
|
||||
|
||||
finish();
|
||||
</script>
|
||||
</head>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue