Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-placeholder-input.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <title>Test -webkit-user-select with a placeholder in a textfield.</title>
5     <script src="../../fast/js/resources/js-test-pre.js"></script>
6     <style>
7     * { -webkit-user-select: none; }
8     input { -webkit-user-select: text; }
9     </style>
10 </head>
11 <body>
12     <p id="description"></p>
13     <div id="console"></div>
14     <input id="x" value="PASS">
15     <script>
16     description("Test that deleting the text in a textfield, and pasting, doesn't hit an issue with -webkit-user-select on br");
17
18     var input = document.getElementById("x");
19     input.focus();
20     input.select();
21
22     document.execCommand("Copy");
23     document.execCommand("Delete");
24     document.execCommand("Paste");
25
26     shouldBe('input.value', '"PASS"');
27
28     </script>
29     <script src="../../fast/js/resources/js-test-post.js"></script>
30 </body>
31 </html>