summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/513153-1b.html
blob: 48149852d41b373b3735304820788bb3c704b5e5 (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="image">
      <input type="image">
    </span>
    <input type="submit" name="foo" value="foo">
    <input type="image" name="bar" value="bar">
  </form>
</body>
</html>