Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-placeholder-input.html
blob2b7f9481168cf303c9422c8169c2d17ff8100300
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Test -webkit-user-select with a placeholder in a textfield.</title>
5 <script src="../../resources/js-test.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");
18 var input = document.getElementById("x");
19 input.focus();
20 input.select();
22 document.execCommand("Copy");
23 document.execCommand("Delete");
24 document.execCommand("Paste");
26 shouldBe('input.value', '"PASS"');
28 </script>
29 </body>
30 </html>