layout/reftests/bugs/513153-2a.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/513153-2a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +  <style>
     1.8 +    input { color: purple; }
     1.9 +    :default { font-size: 3em; color: green; }
    1.10 +  </style>
    1.11 +  <script type="text/javascript">
    1.12 +    function boom()
    1.13 +    {
    1.14 +      var toRemove = document.getElementById("toremove");
    1.15 +      toRemove.parentNode.removeChild(toRemove);
    1.16 +      document.documentElement.className = "";
    1.17 +    }
    1.18 +    window.addEventListener("MozReftestInvalidate", boom, false);
    1.19 +  </script>
    1.20 +</head>
    1.21 +<body>
    1.22 +  <form>
    1.23 +    <span id="toremove">
    1.24 +      <input type="submit">
    1.25 +      <input type="submit">
    1.26 +    </span>
    1.27 +    <input type="image" name="bar" value="bar">
    1.28 +    <input type="submit" name="foo" value="foo">
    1.29 +  </form>
    1.30 +</body>
    1.31 +</html>

mercurial