4 <title>Test -webkit-user-select with a placeholder in a textfield.
</title>
5 <script src=
"../../resources/js-test.js"></script>
7 * { -webkit-user-select: none; }
8 input { -webkit-user-select: text; }
12 <p id=
"description"></p>
13 <div id=
"console"></div>
14 <input id=
"x" value=
"PASS">
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");
22 document
.execCommand("Copy");
23 document
.execCommand("Delete");
24 document
.execCommand("Paste");
26 shouldBe('input.value', '"PASS"');