4 -webkit-user-select: none;
11 -webkit-user-select: text;
12 -webkit-user-modify: read-write-plaintext-only;
15 <script src=../../resources/js-test.js
></script>
17 <p>To test manually, copy
"Test Passed" into clipboard, and paste in below box.
</p>
18 <input id=
"textfield" value=
"Test Passed">
19 <div id=
"sample" class=
"editing"></div>
22 description('This tests that you can paste into a plain-text editable area even if the body has user-select:none set on it.');
23 document
.getElementById('textfield').select();
24 document
.execCommand('copy');
25 var sample
= document
.getElementById('sample');
27 document
.execCommand('paste');
28 shouldBeEqualToString('sample.textContent', 'Test Passed');