https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 643f37b68305d90ecfa148f81db63891c30e4620 authored by Fabrice Desré on 23 February 2015, 18:13:02 UTC
Bug 1135737 - Disable addons on b2g 2.2 r=me a=me
Tip revision: 643f37b
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