Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / suggested-value-hides-placeholder-expected.html
blob06cb177ff926e0c975d030889fefd917b6a6cefb
1 <html>
2 <body>
3 <p>Test for <a href="https://code.google.com/p/chromium/issues/detail?id=362607">https://code.google.com/p/chromium/issues/detail?id=362607</a>.</p> Makes sure that the placeholder text is hidden by a suggested value.
5 <input></input>
6 <textarea></textarea>
8 <script type="text/javascript" charset="utf-8">
9 if (!window.internals) {
10 testFailed('This test requires internals object');
11 } else {
12 internals.setSuggestedValue(document.querySelector('input'), 'suggest');
13 internals.setSuggestedValue(document.querySelector('textarea'), 'suggest');
15 </script>
16 </body>
17 </html>