https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 30f700013becebe314e173da23f5e6409fec2696 authored by B2G Bumper Bot on 29 June 2015, 19:25:58 UTC
Bumping manifests a=b2g-bump
Tip revision: 30f7000
placeholder-5.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: placeholder has to be shown if value is reseted via javascript -->
  <link rel='stylesheet' type='text/css' href='placeholder-style.css'>
  <script type="text/javascript">
    function setValue()
    {
      document.getElementById('p1').value = "";
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

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