summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1320423-1.html
blob: 9769455e75f08617acc6730f1d147bae1d4e21e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<style>
#target {
  cursor: url(file:///somewhere/cursor.png), pointer;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: yellow;
}
#target:hover {
  background: green;
}
</style>
<div id=target></div>
<script>
var target = document.getElementById("target");
var x = window.outerWidth / 2, y = window.outerHeight / 2;
SpecialPowers.DOMWindowUtils.sendMouseEvent("mouseover", x, y, 0, 0, 0);
</script>