summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-placeholder/textarea/css-resize.html
blob: 81ea278b56d36461c295cd1501a0b9c4040b6438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
  <!--
    resize shouldn't be allowed on the ::placeholder.
  -->
  <link rel='stylesheet' type='text/css' href='style.css'>
  <style>
    textarea {
      resize: none;
    }
    textarea::-moz-placeholder,
    textarea::placeholder {
      resize: both;
    }
  </style>
  <body>
    <textarea placeholder='foo'></textarea>
    <textarea placeholder='bar'></textarea>
  </body>
</html>