summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/513153-2a.html
blob: dbab3e9e1ea4451a910655df2981a77e4ecc5ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html class="reftest-wait">
<head>
  <style>
    input { color: purple; }
    :default { font-size: 3em; color: green; }
  </style>
  <script type="text/javascript">
    function boom()
    {
      var toRemove = document.getElementById("toremove");
      toRemove.remove();
      document.documentElement.className = "";
    }
    window.addEventListener("MozReftestInvalidate", boom);
  </script>
</head>
<body>
  <form>
    <span id="toremove">
      <input type="submit">
      <input type="submit">
    </span>
    <input type="image" name="bar" value="bar">
    <input type="submit" name="foo" value="foo">
  </form>
</body>
</html>