summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/placeholder/placeholder-focus-ref.html
blob: fa8f292a47838b4116d46f51c70500556562474c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html class="reftest-wait">
  <link rel='stylesheet' type='text/css' href='placeholder-style.css'>
  <script type="text/javascript">
    function focusInput()
    {
      document.getElementById('t1').focus();
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>
  <body onload="focusInput();">
    <input id='t1' type="text" class="placeholder" value="my placeholder" onfocus="disableReftestWait();">
  </body>
</html>