Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / paste-and-match-style-event.html
blob36e329e663ae7c764ab667f62c49cc819dc020a8
1 <html>
2 <script src="../editing.js"></script>
3 <script>
4 function onpastehandler(event) {
5 var e = document.getElementById('result');
6 e.innerHTML = "SUCCESS";
9 function test() {
10 execCopyCommand();
11 // Test to make sure that PasteAndMatchStyle fires the onpaste event.
12 execPasteAndMatchStyleCommand();
14 if (window.testRunner)
15 testRunner.dumpAsText();
18 </script>
19 <body onload='test()' onpaste='onpastehandler(event)'>
20 <div id='result'>FAILURE</div>
21 </body>
22 </html>