Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5939887.html
blob2617a772d225186d9dec6bee5d1d890df449aae3
1 <body oncopy="log('oncopy fired'); return false;" oncut="log('oncut fired'); return false" onpaste="log('onpaste fired'); return false">
2 This tests to see if Copy, Cut, and Paste fire oncopy, oncut and onpaste even when those operations are disabled. Since they are disabled they can't be performed from the Edit menu, they need to be explicitly performed via execCommand or -[WebView copy:].
3 <ul id="console"></ul>
4 <script>
5 function log(msg) {
6 console = document.getElementById("console");
7 li = document.createElement("li");
8 text = document.createTextNode(msg);
9 console.appendChild(li);
10 li.appendChild(text);
12 if (window.testRunner)
13 window.testRunner.dumpAsText();
14 document.execCommand("Copy");
15 document.execCommand("Cut");
16 document.execCommand("Paste");
17 </script>
18 </body>