https://github.com/mozilla/gecko-dev
Raw File
Tip revision: d4f831862a6928b62a9fc427d200712d8cbc14e4 authored by Christian Legnitto on 16 September 2011, 02:55:42 UTC
Backout bug 678588 due to the volume regression in bug 598774, a=LegNeato
Tip revision: d4f8318
placeholder-2-textarea.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: placeholder has to be used if set via javascript -->
  <script type="text/javascript">
    function setPlaceholder()
    {
      document.getElementById('p1').placeholder = "my placeholder";
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

  <body onload="setPlaceholder(); disableReftestWait();">
    <textarea id="p1" placeholder=""></textarea>
  </body>
</html>
back to top