diff options
Diffstat (limited to 'Tools/TestWebKitAPI/Tests/WebKit2/execCopy.html')
-rw-r--r-- | Tools/TestWebKitAPI/Tests/WebKit2/execCopy.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tools/TestWebKitAPI/Tests/WebKit2/execCopy.html b/Tools/TestWebKitAPI/Tests/WebKit2/execCopy.html new file mode 100644 index 000000000..cf4608ebd --- /dev/null +++ b/Tools/TestWebKitAPI/Tests/WebKit2/execCopy.html @@ -0,0 +1,15 @@ +<html> +<head> +<script type="text/javascript"> + function doCopy() { + document.execCommand("selectAll", true); + document.execCommand("copy"); + } +</script> +</head> +<body onLoad="doCopy()"> + <div>Hello world.</div> + <div><b>Hello</b><i> world</i></div> + <div style="border: solid red 1px">Hello world</div> +</body> +</html> |