<!DOCTYPE html>
<html class='reftest-wait'>
  <script>
    function onLoadHandler()
    {
      document.getElementById('l').value = document.getElementById('i').value;
      document.documentElement.className='';
    }
  </script>
  <body onload="onLoadHandler();">
    <input value='foo&#13;bar' type='hidden' id='i'>
    <textarea id='l'></textarea>
  </body>
</html>
