summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/color/block-invalidate-2.html
blob: 754e81cafc033bdfce8e3a45a298e5adc11640f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html class='reftest-wait'>
  <script>
    function runTest() {
      var p = document.getElementsByTagName('input')[0];
      p.value = '#0000ff'
      p.defaultValue = '#00ff00';
      p.form.reset();
      document.documentElement.className = '';
    }
    window.addEventListener("MozReftestInvalidate", runTest);
  </script>
  <body>
    <p>Test for bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=977038">977038</a></p>
    <form>
      <input type="color" />
    </form>
  </body>
</html>