summaryrefslogtreecommitdiffstats
path: root/devtools/client/inspector/markup/test/doc_markup_events-overflow.html
blob: d604245fe8e269b6b6a53ff920159ab3e71ff18f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<head>
  <meta charset="UTF-8">
  <title>doc_markup_events-overflow.html</title>
</head>
<body>
  <h1>doc_markup_events-overflow.html</h1>
  <span id="events">Inspect me!</span>
  <script>
    "use strict";
    var el = document.getElementById("events");
    for (var i = 50; i > 0; i--) {
      el.addEventListener("click", function onClick() {
        alert("click");
      });
    }
  </script>
</body>
</html>