summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/color/block-invalidate-1.html
blob: 85cfda4a31182c7d0da8db0d0f43ccf06c3d4964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html class='reftest-wait'>
  <script>
    function runTest() {
      var p = document.getElementsByTagName('input')[0];
      p.value = '#00ff00';
      document.documentElement.className = '';
    }
    window.addEventListener("MozReftestInvalidate", runTest);
  </script>
  <body>
    <input type="color" />
  </body>
</html>