layout/reftests/css-placeholder/textarea/placeholder-blur.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE html>
     2 <html class='reftest-wait'>
     3   <link rel='stylesheet' type='text/css' href='style.css'>
     4   <script>
     5     function loadHandler()
     6     {
     7       document.getElementById('t').focus();
     8     }
     9     function focusHandler()
    10     {
    11       document.getElementById('t').blur();
    12     }
    13     function blurHandler()
    14     {
    15       document.documentElement.className = '';
    16     }
    17   </script>
    18   <body onload='loadHandler();'>
    19     <textarea id='t' placeholder='foo' onfocus='focusHandler();' onblur='blurHandler();'></textarea>
    20   </body>
    21 </html>

mercurial