summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/text/placeholder-set-value.html
blob: 615a66028543874a23f319e5618880ceae916537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<head>
  <script type="text/javascript" charset="utf-8">
    function runTest()
    {
      document.getElementById('searchfield').value = 'New text';
    }
  </script>
</head>
<body onload="runTest()">
  <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=24508">https://bugs.webkit.org/show_bug.cgi?id=24508</a>. Search field does not redraw if value set, when it has placeholder text.</p>

  <input id="searchfield" type="search" placeholder="Placeholder text">
</body>
</html>