summaryrefslogtreecommitdiffstats
path: root/layout/reftests/display-list/1461231-1.html
blob: 3dfb1698ac928a0aa885ed1baf0d9399acae823d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en" class="reftest-wait">
<head>
<style>
  #test {
    background: #050;
    position: fixed;
    width: 200px;
    height: 200px;
  }
</style>
</head>
<body>
<p id="test" onclick="this.remove()"></p>
</body>
<script>
  function doTest() {
    document.getElementById("test").remove();
    document.documentElement.removeAttribute('class');
  }
  window.addEventListener("MozReftestInvalidate", doTest);
</script>
</html>