https://github.com/mozilla/gecko-dev
Raw File
Tip revision: cce5fb62801b2dc2d43fed147961f47cb033ca97 authored by Matt Brubeck on 09 June 2011, 18:11:04 UTC
Backed out changeset 08a50378d37c (landed on relbranch by accident). a=backout
Tip revision: cce5fb6
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