Index: LayoutTests/editing/execCommand/cut-copy-paste-support.html |
diff --git a/LayoutTests/editing/execCommand/cut-copy-paste-support.html b/LayoutTests/editing/execCommand/cut-copy-paste-support.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9c36929f7a799d0f077deee69dce73ab27f11deb |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/cut-copy-paste-support.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<head> |
+<script src="../../resources/js-test.js"></script> |
+</head> |
+<body> |
+<script> |
+description('This test checks the support for cut/copy/paste commands.'); |
+ |
+shouldBeTrue("document.queryCommandSupported('Cut')"); |
+shouldBeTrue("document.queryCommandSupported('Copy')"); |
+shouldBeTrue("document.queryCommandSupported('Paste')"); |
+ |
+shouldBeFalse("document.queryCommandEnabled('Cut')"); |
+shouldBeFalse("document.queryCommandEnabled('Copy')"); |
+shouldBeFalse("document.queryCommandEnabled('Paste')"); |
+</script> |
+</body> |
+</html> |