OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <head> | |
3 <script src="../../resources/js-test.js"></script> | |
4 </head> | |
5 <body> | |
6 <script> | |
7 description('This test checks the support for cut/copy/paste commands.'); | |
8 | |
9 shouldBeTrue("document.queryCommandSupported('Cut')"); | |
10 shouldBeTrue("document.queryCommandSupported('Copy')"); | |
11 shouldBeTrue("document.queryCommandSupported('Paste')"); | |
12 | |
13 shouldBeFalse("document.queryCommandEnabled('Cut')"); | |
14 shouldBeFalse("document.queryCommandEnabled('Copy')"); | |
15 shouldBeFalse("document.queryCommandEnabled('Paste')"); | |
16 </script> | |
17 </body> | |
18 </html> | |
OLD | NEW |