https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 56a44f24366557e5532147cf28cd14f306f47c46 authored by Mats Palmgren on 31 May 2012, 18:03:59 UTC
Bug 759788: hold a strong ref to the nsPluginInstanceOwner in DoStopPlugin to avoid crashes, r=bsmedberg, a=akeybl
Tip revision: 56a44f2
placeholder-13.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: placeholder shouldn't show new lines (\r version) -->
  <script type="text/javascript">
    function setPlaceholder()
    {
      document.getElementById('p1').placeholder = 'my\r placeholder';
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>
  <body onload="setPlaceholder(); disableReftestWait();">
    <input type="text" id="p1" value="" placeholder="">
  </body>
</html>
back to top