summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-placeholder/textarea/placeholder-removal.html
blob: 727b216a9959965f953fb2d0f52904c8644194f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html class='reftest-wait'>
  <link rel='stylesheet' type='text/css' href='style.css'>
  <script>
    function loadHandler()
    {
      document.getElementById('t').removeAttribute('placeholder');
      document.getElementById('moz').removeAttribute('placeholder');
      document.documentElement.className = '';
    }
  </script>
  <body onload='loadHandler();'>
    <textarea id='t' placeholder='foo'></textarea>
    <textarea id='moz' placeholder='bar'></textarea>
  </body>
</html>