summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/meter/block-invalidate.html
blob: abc98f7f7a6c55cf19f0610cca53a39b9fe79a73 (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'>
  <link rel='stylesheet' type='text/css' href='style.css'>
  <style>
    meter { display: block; }
  </style>
  <script>
    function loadHandler() {
      setTimeout(function() {
        var p = document.getElementsByTagName('meter')[0];
        p.value = '0.5';
        document.documentElement.className = '';
      }, 0);
    }
  </script>
  <body onload="loadHandler();">
    <meter value='0'></meter>
  </body>
</html>