https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 1c18d06925f1faef679e20f822ecabef2be57bd7 authored by Wes Kocher on 28 February 2014, 01:08:04 UTC
Merge b2g-inbound to m-c
Tip revision: 1c18d06
placeholder-4.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: value has to be shown if set via javascript -->
  <script type="text/javascript">
    function setValue()
    {
      document.getElementById('p1').value = "my value";
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

  <body onload="setValue(); disableReftestWait();">
    <input type="text" id="p1" value="" placeholder="my placeholder">
  </body>
</html>
back to top